|
clang
3.8.0
|
ColonProtectionRAIIObject - This sets the Parser::ColonIsSacred bool and restores it when destroyed. More...
#include <RAIIObjectsForParser.h>
Public Member Functions | |
| ColonProtectionRAIIObject (Parser &p, bool Value=true) | |
| void | restore () |
| restore - This can be used to restore the state early, before the dtor is run. More... | |
| ~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 270 of file RAIIObjectsForParser.h.
|
inline |
Definition at line 274 of file RAIIObjectsForParser.h.
|
inline |
Definition at line 285 of file RAIIObjectsForParser.h.
References restore().
|
inline |
restore - This can be used to restore the state early, before the dtor is run.
Definition at line 281 of file RAIIObjectsForParser.h.
Referenced by ~ColonProtectionRAIIObject().
1.8.6