class ExtensionRAIIObject

Declaration

class ExtensionRAIIObject { /* full declaration omitted */ };

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.

Declared at: clang/include/clang/Parse/RAIIObjectsForParser.h:255

Member Variables

private clang::DiagnosticsEngine& Diags

Method Overview

Methods

ExtensionRAIIObject(
    const clang::ExtensionRAIIObject&)

Declared at: clang/include/clang/Parse/RAIIObjectsForParser.h:256

Parameters

const clang::ExtensionRAIIObject&

ExtensionRAIIObject(
    clang::DiagnosticsEngine& diags)

Declared at: clang/include/clang/Parse/RAIIObjectsForParser.h:261

Parameters

clang::DiagnosticsEngine& diags

~ExtensionRAIIObject()

Declared at: clang/include/clang/Parse/RAIIObjectsForParser.h:265