clang API Documentation
A helper class which wraps a boolean value set to false by default. More...
#include <Checker.h>
Public Member Functions | |
DefaultBool () | |
operator bool & () | |
operator const bool & () const | |
DefaultBool & | operator= (bool b) |
Public Attributes | |
bool | val |
A helper class which wraps a boolean value set to false by default.
This class should behave exactly like 'bool' except that it doesn't need to be explicitly initialized.
clang::ento::DefaultBool::DefaultBool | ( | ) | [inline] |
clang::ento::DefaultBool::operator bool & | ( | ) | [inline] |
clang::ento::DefaultBool::operator const bool & | ( | ) | const [inline] |
DefaultBool& clang::ento::DefaultBool::operator= | ( | bool | b | ) | [inline] |
Definition at line 555 of file Checker.h.
Referenced by operator bool &(), operator const bool &(), and operator=().