struct Parser::LateParsedMethodDeclaration
Declaration
struct Parser::LateParsedMethodDeclaration
: public LateParsedDeclaration { /* full declaration omitted */ };
Description
LateParsedMethodDeclaration - A method declaration inside a class that contains at least one entity whose parsing needs to be delayed until the class itself is completely-defined, such as a default argument (C++ [class.mem]p2).
Declared at: clang/include/clang/Parse/Parser.h:1379
Inherits from: Parser::LateParsedDeclaration
Member Variables
- public clang::Parser* Self
- public clang::Decl* Method
- Method - The method declaration.
- public SmallVector< clang::Parser::LateParsedDefaultArgument, 8> DefaultArgs
- DefaultArgs - Contains the parameters of the function and their default arguments. At least one of the parameters will have a default argument, but all of the parameters of the method will be stored so that they can be reintroduced into scope at the appropriate times.
- public clang::CachedTokens* ExceptionSpecTokens
- The set of tokens that make up an exception-specification that has not yet been parsed.
Method Overview
- public LateParsedMethodDeclaration(clang::Parser * P, clang::Decl * M)
- public void ParseLexedMethodDeclarations()
Inherited from Parser::LateParsedDeclaration:
- public ParseLexedAttributes
- public ParseLexedMemberInitializers
- public ParseLexedMethodDeclarations
- public ParseLexedMethodDefs
- public ParseLexedPragmas
Methods
¶LateParsedMethodDeclaration(clang::Parser* P,
clang::Decl* M)
LateParsedMethodDeclaration(clang::Parser* P,
clang::Decl* M)
Declared at: clang/include/clang/Parse/Parser.h:1380
Parameters
- clang::Parser* P
- clang::Decl* M
¶void ParseLexedMethodDeclarations()
void ParseLexedMethodDeclarations()
Declared at: clang/include/clang/Parse/Parser.h:1383