clang 17.0.0git
|
This holds information associated with typedefs. More...
#include "clang/ExtractAPI/API.h"
Public Member Functions | |
TypedefRecord (StringRef USR, StringRef Name, PresumedLoc Loc, AvailabilitySet Availabilities, const DocComment &Comment, DeclarationFragments Declaration, DeclarationFragments SubHeading, SymbolReference UnderlyingType, bool IsFromSystemHeader) | |
![]() | |
RecordKind | getKind () const |
APIRecord ()=delete | |
APIRecord (RecordKind Kind, StringRef USR, StringRef Name, PresumedLoc Location, AvailabilitySet Availabilities, LinkageInfo Linkage, const DocComment &Comment, DeclarationFragments Declaration, DeclarationFragments SubHeading, bool IsFromSystemHeader) | |
virtual | ~APIRecord ()=0 |
Static Public Member Functions | |
static bool | classof (const APIRecord *Record) |
Public Attributes | |
SymbolReference | UnderlyingType |
![]() | |
StringRef | USR |
StringRef | Name |
PresumedLoc | Location |
AvailabilitySet | Availabilities |
LinkageInfo | Linkage |
DocComment | Comment |
Documentation comment lines attached to this symbol declaration. | |
DeclarationFragments | Declaration |
Declaration fragments of this symbol declaration. | |
DeclarationFragments | SubHeading |
SubHeading provides a more detailed representation than the plain declaration name. | |
HierarchyInformation | ParentInformation |
Information about the parent record of this record. | |
bool | IsFromSystemHeader |
Whether the symbol was defined in a system header. | |
Additional Inherited Members | |
![]() | |
enum | RecordKind { RK_Unknown , RK_GlobalFunction , RK_GlobalVariable , RK_EnumConstant , RK_Enum , RK_StructField , RK_Struct , RK_ObjCInstanceProperty , RK_ObjCClassProperty , RK_ObjCIvar , RK_ObjCClassMethod , RK_ObjCInstanceMethod , RK_ObjCInterface , RK_ObjCCategory , RK_ObjCProtocol , RK_MacroDefinition , RK_Typedef } |
Discriminator for LLVM-style RTTI (dyn_cast<> et al.) More... | |
This holds information associated with typedefs.
Note: Typedefs for anonymous enums and structs typically don't get emitted by the serializers but still get a TypedefRecord. Instead we use the typedef name as a name for the underlying anonymous struct or enum.
|
inline |
Definition at line 571 of file API.h.
References clang::extractapi::APIRecord::RK_Typedef.
SymbolReference clang::extractapi::TypedefRecord::UnderlyingType |