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

Inherited from Parser::LateParsedDeclaration:

Methods

LateParsedAttribute(clang::Parser* P,
                    clang::IdentifierInfo& Name,
                    clang::SourceLocation Loc)

Declared at: clang/include/clang/Parse/Parser.h:1303

Parameters

clang::Parser* P
clang::IdentifierInfo& Name
clang::SourceLocation Loc

void ParseLexedAttributes()

Declared at: clang/include/clang/Parse/Parser.h:1307

void addDecl(clang::Decl* D)

Declared at: clang/include/clang/Parse/Parser.h:1309

Parameters

clang::Decl* D