clang 20.0.0git
|
#include "clang/InstallAPI/FrontendRecords.h"
Public Member Functions | |
FrontendRecordsSlice (const llvm::Triple &T) | |
std::pair< GlobalRecord *, FrontendAttrs * > | addGlobal (StringRef Name, RecordLinkage Linkage, GlobalRecord::Kind GV, const clang::AvailabilityInfo Avail, const Decl *D, const HeaderType Access, SymbolFlags Flags=SymbolFlags::None, bool Inlined=false) |
Add non-ObjC global record with attributes from AST. | |
std::pair< ObjCInterfaceRecord *, FrontendAttrs * > | addObjCInterface (StringRef Name, RecordLinkage Linkage, const clang::AvailabilityInfo Avail, const Decl *D, HeaderType Access, bool IsEHType) |
Add ObjC Class record with attributes from AST. | |
std::pair< ObjCCategoryRecord *, FrontendAttrs * > | addObjCCategory (StringRef ClassToExtend, StringRef CategoryName, const clang::AvailabilityInfo Avail, const Decl *D, HeaderType Access) |
Add ObjC Category record with attributes from AST. | |
std::pair< ObjCIVarRecord *, FrontendAttrs * > | addObjCIVar (ObjCContainerRecord *Container, StringRef IvarName, RecordLinkage Linkage, const clang::AvailabilityInfo Avail, const Decl *D, HeaderType Access, const clang::ObjCIvarDecl::AccessControl AC) |
Add ObjC IVar record with attributes from AST. | |
Definition at line 30 of file FrontendRecords.h.
|
inline |
Definition at line 32 of file FrontendRecords.h.
References clang::T.
std::pair< GlobalRecord *, FrontendAttrs * > clang::installapi::FrontendRecordsSlice::addGlobal | ( | StringRef | Name, |
RecordLinkage | Linkage, | ||
GlobalRecord::Kind | GV, | ||
const clang::AvailabilityInfo | Avail, | ||
const Decl * | D, | ||
const HeaderType | Access, | ||
SymbolFlags | Flags = SymbolFlags::None , |
||
bool | Inlined = false |
||
) |
Add non-ObjC global record with attributes from AST.
Name | The name of symbol. |
Linkage | The linkage of symbol. |
GV | The kind of global. |
Avail | The availability information tied to the active target triple. |
D | The pointer to the declaration from traversing AST. |
Access | The intended access level of symbol. |
Flags | The flags that describe attributes of the symbol. |
Inlined | Whether declaration is inlined, only applicable to functions. |
Definition at line 19 of file Frontend.cpp.
References D, and clang::Result.
std::pair< ObjCCategoryRecord *, FrontendAttrs * > clang::installapi::FrontendRecordsSlice::addObjCCategory | ( | StringRef | ClassToExtend, |
StringRef | CategoryName, | ||
const clang::AvailabilityInfo | Avail, | ||
const Decl * | D, | ||
HeaderType | Access | ||
) |
Add ObjC Category record with attributes from AST.
ClassToExtend | The name of class that is extended by category, not symbol. |
CategoryName | The name of category, not symbol. |
Avail | The availability information tied to the active target triple. |
D | The pointer to the declaration from traversing AST. |
Access | The intended access level of symbol. |
Definition at line 49 of file Frontend.cpp.
References D, and clang::Result.
std::pair< ObjCInterfaceRecord *, FrontendAttrs * > clang::installapi::FrontendRecordsSlice::addObjCInterface | ( | StringRef | Name, |
RecordLinkage | Linkage, | ||
const clang::AvailabilityInfo | Avail, | ||
const Decl * | D, | ||
HeaderType | Access, | ||
bool | IsEHType | ||
) |
Add ObjC Class record with attributes from AST.
Name | The name of class, not symbol. |
Linkage | The linkage of symbol. |
Avail | The availability information tied to the active target triple. |
D | The pointer to the declaration from traversing AST. |
Access | The intended access level of symbol. |
IsEHType | Whether declaration has an exception attribute. |
Definition at line 32 of file Frontend.cpp.
References D, and clang::Result.
std::pair< ObjCIVarRecord *, FrontendAttrs * > clang::installapi::FrontendRecordsSlice::addObjCIVar | ( | ObjCContainerRecord * | Container, |
StringRef | IvarName, | ||
RecordLinkage | Linkage, | ||
const clang::AvailabilityInfo | Avail, | ||
const Decl * | D, | ||
HeaderType | Access, | ||
const clang::ObjCIvarDecl::AccessControl | AC | ||
) |
Add ObjC IVar record with attributes from AST.
Container | The owning pointer for instance variable. |
Name | The name of ivar, not symbol. |
Linkage | The linkage of symbol. |
Avail | The availability information tied to the active target triple. |
D | The pointer to the declaration from traversing AST. |
Access | The intended access level of symbol. |
AC | The access control tied to the ivar declaration. |
Definition at line 60 of file Frontend.cpp.
References D, clang::ObjCIvarDecl::Package, clang::ObjCIvarDecl::Private, and clang::Result.