clang 20.0.0git
|
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 255 of file RAIIObjectsForParser.h.
|
inline |
Definition at line 261 of file RAIIObjectsForParser.h.
References clang::DiagnosticsEngine::IncrementAllExtensionsSilenced().
|
inline |
Definition at line 265 of file RAIIObjectsForParser.h.
References clang::DiagnosticsEngine::DecrementAllExtensionsSilenced().