|
clang 24.0.0git
|
The part of a late-parsed type attribute that Sema reads and fills in during type construction. More...
#include "clang/Sema/DeclSpec.h"
Public Member Functions | |
| LateParsedTypeAttrInfo (ParsedAttr::Kind Kind, SourceLocation NameLoc) | |
Public Attributes | |
| ParsedAttr::Kind | Kind |
| SourceLocation | NameLoc |
| BoundsAttributedType * | TypeToComplete = nullptr |
| The type built for this attribute during type construction, still missing the argument that hasn't been parsed yet. | |
The part of a late-parsed type attribute that Sema reads and fills in during type construction.
The parser owns the attribute and its cached tokens and embeds this, so Sema never needs to see the parser's type.
Definition at line 1290 of file DeclSpec.h.
|
inline |
Definition at line 1304 of file DeclSpec.h.
| ParsedAttr::Kind clang::LateParsedTypeAttrInfo::Kind |
Definition at line 1291 of file DeclSpec.h.
Referenced by LateParsedTypeAttrInfo(), and clang::Sema::ProcessLateParsedTypeAttr().
| SourceLocation clang::LateParsedTypeAttrInfo::NameLoc |
Definition at line 1292 of file DeclSpec.h.
Referenced by LateParsedTypeAttrInfo(), and clang::Sema::ProcessLateParsedTypeAttr().
| BoundsAttributedType* clang::LateParsedTypeAttrInfo::TypeToComplete = nullptr |
The type built for this attribute during type construction, still missing the argument that hasn't been parsed yet.
Filled in by Sema::ProcessLateParsedTypeAttr and completed once the enclosing scope makes the argument parseable. Null if type construction rejected the attribute.
Held as the base class so the parser stays agnostic about which bounds attribute this is; Sema dispatches on the concrete kind when completing.
Definition at line 1302 of file DeclSpec.h.
Referenced by clang::Sema::ProcessLateParsedTypeAttr().