clang
8.0.0
|
ExtensionRAIIObject - This saves the state of extension warnings when constructed and disables them. More...
#include "clang/Parse/RAIIObjectsForParser.h"
Public Member Functions | |
ExtensionRAIIObject (DiagnosticsEngine &diags) | |
~ExtensionRAIIObject () | |
ExtensionRAIIObject - This saves the state of extension warnings when constructed and disables them.
When destructed, it restores them back to the way they used to be. This is used to handle extension in the parser.
Definition at line 253 of file RAIIObjectsForParser.h.
|
inline |
Definition at line 259 of file RAIIObjectsForParser.h.
References clang::DiagnosticsEngine::IncrementAllExtensionsSilenced().
|
inline |
Definition at line 263 of file RAIIObjectsForParser.h.
References clang::DiagnosticsEngine::DecrementAllExtensionsSilenced().