clang API Documentation

Public Member Functions | Public Attributes
clang::ento::DefaultBool Struct Reference

A helper class which wraps a boolean value set to false by default. More...

#include <Checker.h>

Collaboration diagram for clang::ento::DefaultBool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DefaultBool ()
 operator bool & ()
 operator const bool & () const
DefaultBooloperator= (bool b)

Public Attributes

bool val

Detailed Description

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.

Definition at line 554 of file Checker.h.


Constructor & Destructor Documentation

Definition at line 556 of file Checker.h.


Member Function Documentation

clang::ento::DefaultBool::operator bool & ( ) [inline]

Definition at line 557 of file Checker.h.

References val.

clang::ento::DefaultBool::operator const bool & ( ) const [inline]

Definition at line 558 of file Checker.h.

References val.

DefaultBool& clang::ento::DefaultBool::operator= ( bool  b) [inline]

Definition at line 559 of file Checker.h.

References val.


Member Data Documentation

Definition at line 555 of file Checker.h.

Referenced by operator bool &(), operator const bool &(), and operator=().


The documentation for this struct was generated from the following file: