clang API Documentation

Public Member Functions
clang::ExtensionRAIIObject Class Reference

#include <RAIIObjectsForParser.h>

List of all members.

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 246 of file RAIIObjectsForParser.h.


Constructor & Destructor Documentation

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

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