clang 20.0.0git
Public Member Functions | List of all members
clang::ExtensionRAIIObject Class Reference

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ExtensionRAIIObject()

clang::ExtensionRAIIObject::ExtensionRAIIObject ( DiagnosticsEngine diags)
inline

◆ ~ExtensionRAIIObject()

clang::ExtensionRAIIObject::~ExtensionRAIIObject ( )
inline

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