clang  12.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
clang::ASTNameGenerator::Implementation Class Reference

Public Types

enum  ObjCKind { ObjCClass, ObjCMetaclass }
 

Public Member Functions

 Implementation (ASTContext &Ctx)
 
bool writeName (const Decl *D, raw_ostream &OS)
 
std::string getName (const Decl *D)
 
std::vector< std::string > getAllManglings (const ObjCContainerDecl *OCD)
 
std::vector< std::string > getAllManglings (const Decl *D)
 

Static Public Member Functions

static StringRef getClassSymbolPrefix (ObjCKind Kind, const ASTContext &Context)
 

Detailed Description

Definition at line 333 of file Mangle.cpp.

Member Enumeration Documentation

◆ ObjCKind

Enumerator
ObjCClass 
ObjCMetaclass 

Definition at line 377 of file Mangle.cpp.

Constructor & Destructor Documentation

◆ Implementation()

clang::ASTNameGenerator::Implementation::Implementation ( ASTContext Ctx)
inlineexplicit

Definition at line 338 of file Mangle.cpp.

Member Function Documentation

◆ getAllManglings() [1/2]

std::vector<std::string> clang::ASTNameGenerator::Implementation::getAllManglings ( const ObjCContainerDecl OCD)
inline

Definition at line 389 of file Mangle.cpp.

References clang::Decl::getASTContext().

◆ getAllManglings() [2/2]

std::vector<std::string> clang::ASTNameGenerator::Implementation::getAllManglings ( const Decl D)
inline

◆ getClassSymbolPrefix()

static StringRef clang::ASTNameGenerator::Implementation::getClassSymbolPrefix ( ObjCKind  Kind,
const ASTContext Context 
)
inlinestatic

◆ getName()

std::string clang::ASTNameGenerator::Implementation::getName ( const Decl D)
inline

Definition at line 368 of file Mangle.cpp.

◆ writeName()

bool clang::ASTNameGenerator::Implementation::writeName ( const Decl D,
raw_ostream &  OS 
)
inline

Definition at line 342 of file Mangle.cpp.


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