clang 20.0.0git
Public Member Functions | List of all members
clang::installapi::FrontendRecordsSlice Class Reference

#include "clang/InstallAPI/FrontendRecords.h"

Inheritance diagram for clang::installapi::FrontendRecordsSlice:
Inheritance graph
[legend]

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.
 

Detailed Description

Definition at line 30 of file FrontendRecords.h.

Constructor & Destructor Documentation

◆ FrontendRecordsSlice()

clang::installapi::FrontendRecordsSlice::FrontendRecordsSlice ( const llvm::Triple &  T)
inline

Definition at line 32 of file FrontendRecords.h.

References clang::T.

Member Function Documentation

◆ addGlobal()

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.

Parameters
NameThe name of symbol.
LinkageThe linkage of symbol.
GVThe kind of global.
AvailThe availability information tied to the active target triple.
DThe pointer to the declaration from traversing AST.
AccessThe intended access level of symbol.
FlagsThe flags that describe attributes of the symbol.
InlinedWhether declaration is inlined, only applicable to functions.
Returns
The non-owning pointer to added record in slice with it's frontend attributes.

Definition at line 19 of file Frontend.cpp.

References D, and clang::Result.

◆ addObjCCategory()

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.

Parameters
ClassToExtendThe name of class that is extended by category, not symbol.
CategoryNameThe name of category, not symbol.
AvailThe availability information tied to the active target triple.
DThe pointer to the declaration from traversing AST.
AccessThe intended access level of symbol.
Returns
The non-owning pointer to added record in slice with it's frontend attributes.

Definition at line 49 of file Frontend.cpp.

References D, and clang::Result.

◆ addObjCInterface()

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.

Parameters
NameThe name of class, not symbol.
LinkageThe linkage of symbol.
AvailThe availability information tied to the active target triple.
DThe pointer to the declaration from traversing AST.
AccessThe intended access level of symbol.
IsEHTypeWhether declaration has an exception attribute.
Returns
The non-owning pointer to added record in slice with it's frontend attributes.

Definition at line 32 of file Frontend.cpp.

References D, and clang::Result.

◆ addObjCIVar()

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.

Parameters
ContainerThe owning pointer for instance variable.
NameThe name of ivar, not symbol.
LinkageThe linkage of symbol.
AvailThe availability information tied to the active target triple.
DThe pointer to the declaration from traversing AST.
AccessThe intended access level of symbol.
ACThe access control tied to the ivar declaration.
Returns
The non-owning pointer to added record in slice with it's frontend attributes.

Definition at line 60 of file Frontend.cpp.

References D, clang::ObjCIvarDecl::Package, clang::ObjCIvarDecl::Private, and clang::Result.


The documentation for this class was generated from the following files: