clang: clang::SelectorTable Class Reference (original) (raw)

This table allows us to fully hide how we implement multi-keyword caching. More...

#include "[clang/Basic/IdentifierTable.h](IdentifierTable%5F8h%5Fsource.html)"

Public Member Functions
SelectorTable ()
SelectorTable (const SelectorTable &)=delete
SelectorTable & operator= (const SelectorTable &)=delete
~SelectorTable ()
Selector getSelector (unsigned NumArgs, const IdentifierInfo **IIV)
Can create any sort of selector.
Selector getUnarySelector (const IdentifierInfo *ID)
Selector getNullarySelector (const IdentifierInfo *ID)
size_t getTotalMemory () const
Return the total amount of memory allocated for managing selectors.
Static Public Member Functions
static SmallString< 64 > constructSetterName (StringRef Name)
Return the default setter name for the given identifier.
static Selector constructSetterSelector (IdentifierTable &Idents, SelectorTable &SelTable, const IdentifierInfo *Name)
Return the default setter selector for the given identifier.
static std::string getPropertyNameFromSetterSelector (Selector Sel)
Return the property name for the given setter selector.

This table allows us to fully hide how we implement multi-keyword caching.

Definition at line 1122 of file IdentifierTable.h.

SelectorTable::SelectorTable ( )

SelectorTable() [2/2]

clang::SelectorTable::SelectorTable ( const SelectorTable & ) delete

~SelectorTable()

SelectorTable::~SelectorTable ( )

constructSetterName()

SmallString< 64 > SelectorTable::constructSetterName ( StringRef Name) static

constructSetterSelector()

getNullarySelector()

getPropertyNameFromSetterSelector()

std::string SelectorTable::getPropertyNameFromSetterSelector ( Selector Sel) static

getSelector()

Can create any sort of selector.

NumArgs indicates whether this is a no argument selector "foo", a single argument selector "foo:" or multi-argument "foo:bar:".

Definition at line 762 of file IdentifierTable.cpp.

References getSelectorTableImpl(), and clang::MultiKeywordSelector::Profile().

Referenced by AddObjCKeyValueCompletions(), clang::SemaObjC::BuildObjCBoxedExpr(), CheckKeyForObjCARCConversion(), CheckProtocolMethodDefs(), clang::getKeywordSelector(), clang::NSAPI::getNSArraySelector(), clang::NSAPI::getNSDictionarySelector(), clang::NSAPI::getNSSetSelector(), clang::NSAPI::getNSStringSelector(), clang::GetNullarySelector(), clang::GetUnarySelector(), clang::ASTImporter::Import(), and clang::serialization::reader::ASTSelectorLookupTrait::ReadKey().

getTotalMemory()

size_t SelectorTable::getTotalMemory ( ) const

getUnarySelector()

Definition at line 1138 of file IdentifierTable.h.

References ID.

Referenced by clang::SemaObjC::ActOnInstanceMessage(), AddObjCKeyValueCompletions(), clang::SemaObjC::BuildObjCBoxedExpr(), clang::SemaObjC::checkObjCBridgeRelatedComponents(), constructSetterSelector(), clang::NSAPI::getNSArraySelector(), clang::NSAPI::getNSDictionarySelector(), clang::NSAPI::getNSNumberLiteralSelector(), clang::NSAPI::getNSSetSelector(), clang::NSAPI::getNSStringSelector(), and clang::serialization::reader::ASTSelectorLookupTrait::ReadKey().

operator=()


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