struct Parser::LateParsedAttribute
Declaration
struct Parser::LateParsedAttribute : public LateParsedDeclaration { /* full declaration omitted */ };
Description
Contains the lexed tokens of an attribute with arguments that may reference member variables and so need to be parsed at the end of the class declaration after parsing all other member member declarations. FIXME: Perhaps we should change the name of LateParsedDeclaration to LateParsedTokens.
Declared at: clang/include/clang/Parse/Parser.h:1295
Inherits from: Parser::LateParsedDeclaration
Member Variables
- public clang::Parser* Self
- public clang::CachedTokens Toks
- public clang::IdentifierInfo& AttrName
- public clang::IdentifierInfo* MacroII = nullptr
- public clang::SourceLocation AttrNameLoc
- public SmallVector<clang::Decl*, 2> Decls
Method Overview
- public LateParsedAttribute(clang::Parser * P, clang::IdentifierInfo & Name, clang::SourceLocation Loc)
- public void ParseLexedAttributes()
- public void addDecl(clang::Decl * D)
Inherited from Parser::LateParsedDeclaration:
- public ParseLexedAttributes
- public ParseLexedMemberInitializers
- public ParseLexedMethodDeclarations
- public ParseLexedMethodDefs
- public ParseLexedPragmas
Methods
¶LateParsedAttribute(clang::Parser* P,
clang::IdentifierInfo& Name,
clang::SourceLocation Loc)
LateParsedAttribute(clang::Parser* P,
clang::IdentifierInfo& Name,
clang::SourceLocation Loc)
Declared at: clang/include/clang/Parse/Parser.h:1303
Parameters
¶void ParseLexedAttributes()
void ParseLexedAttributes()
Declared at: clang/include/clang/Parse/Parser.h:1307
¶void addDecl(clang::Decl* D)
void addDecl(clang::Decl* D)
Declared at: clang/include/clang/Parse/Parser.h:1309
Parameters
- clang::Decl* D