clang API Documentation

Classes | Namespaces
RAIIObjectsForParser.h File Reference
#include "clang/Parse/ParseDiagnostic.h"
#include "clang/Parse/Parser.h"
#include "clang/Sema/DelayedDiagnostic.h"
#include "clang/Sema/Sema.h"
Include dependency graph for RAIIObjectsForParser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::SuppressAccessChecks
 A RAII object used to temporarily suppress access-like checking. Access-like checks are those associated with controlling the use of a declaration, like C++ access control errors and deprecation warnings. They are contextually dependent, in that they can only be resolved with full information about what's being declared. They are also suppressed in certain contexts, like the template arguments of an explicit instantiation. However, those suppression contexts cannot necessarily be fully determined in advance; for example, something starting like this: template <> class std::vector<A::PrivateType> might be the entirety of an explicit instantiation: template <> class std::vector<A::PrivateType>; or just an elaborated type specifier: template <> class std::vector<A::PrivateType> make_vector<>(); Therefore this class collects all the diagnostics and permits them to be re-delayed in a new context. More...
class  clang::ParsingDeclRAIIObject
 RAII object used to inform the actions that we're currently parsing a declaration. This is active when parsing a variable's initializer, but not when parsing the body of a class or function definition. More...
class  clang::ParsingDeclSpec
 A class for parsing a DeclSpec. More...
class  clang::ParsingDeclarator
 A class for parsing a declarator. More...
class  clang::ParsingFieldDeclarator
 A class for parsing a field declarator. More...
class  clang::ExtensionRAIIObject
class  clang::ColonProtectionRAIIObject
class  clang::GreaterThanIsOperatorScope
 RAII object that makes '>' behave either as an operator or as the closing angle bracket for a template argument list. More...
class  clang::InMessageExpressionRAIIObject
class  clang::ParenBraceBracketBalancer
 RAII object that makes sure paren/bracket/brace count is correct after declaration/statement parsing, even when there's a parsing error. More...
class  clang::PoisonSEHIdentifiersRAIIObject
class  clang::BalancedDelimiterTracker
 RAII class that helps handle the parsing of an open/close delimiter pair, such as braces { ... } or parentheses ( ... ). More...

Namespaces

namespace  clang