clang API Documentation
#include <RAIIObjectsForParser.h>
Public Member Functions | |
| ColonProtectionRAIIObject (Parser &p, bool Value=true) | |
| void | restore () |
| ~ColonProtectionRAIIObject () | |
ColonProtectionRAIIObject - This sets the Parser::ColonIsSacred bool and restores it when destroyed. This says that "foo:" should not be considered a possible typo for "foo::" for error recovery purposes.
Definition at line 264 of file RAIIObjectsForParser.h.
| clang::ColonProtectionRAIIObject::ColonProtectionRAIIObject | ( | Parser & | p, |
| bool | Value = true |
||
| ) | [inline] |
Definition at line 268 of file RAIIObjectsForParser.h.
Definition at line 279 of file RAIIObjectsForParser.h.
References restore().
| void clang::ColonProtectionRAIIObject::restore | ( | ) | [inline] |
restore - This can be used to restore the state early, before the dtor is run.
Definition at line 275 of file RAIIObjectsForParser.h.
Referenced by ~ColonProtectionRAIIObject().