Searched refs:RAII (Results 1 - 2 of 2) sorted by relevance

/external/clang/test/SemaCXX/
H A Ddecl-expr-ambiguity.cpp46 struct RAII { struct
47 RAII();
48 ~RAII();
57 RAII raii(); // expected-warning {{function declaration}} expected-note {{remove parentheses to declare a variable}}
/external/clang/lib/Parse/
H A DRAIIObjectsForParser.h1 //===--- RAIIObjectsForParser.h - RAII helpers for the parser ---*- C++ -*-===//
10 // This file defines and implements the some simple RAII objects that are used
27 /// \brief A RAII object used to temporarily suppress access-like
80 /// \brief RAII object used to inform the actions that we're
101 /// Creates a RAII object whose pool is optionally parented by another.
108 /// Creates a RAII object and, optionally, initialize its
110 /// RAII object (which is assumed to be the current top pool).
132 /// Resets the RAII object for a new declaration.
177 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) argument
179 ParsingRAII(P, RAII) {}
[all...]

Completed in 64 milliseconds