clang
19.0.0git
|
Public Types | |
using | SerializedIdentifierTable = llvm::OnDiskIterableChainedHashTable< IdentifierTableInfo > |
using | SerializedObjCContextIDTable = llvm::OnDiskIterableChainedHashTable< ObjCContextIDTableInfo > |
using | SerializedObjCContextInfoTable = llvm::OnDiskIterableChainedHashTable< ObjCContextInfoTableInfo > |
using | SerializedObjCPropertyTable = llvm::OnDiskIterableChainedHashTable< ObjCPropertyTableInfo > |
using | SerializedObjCMethodTable = llvm::OnDiskIterableChainedHashTable< ObjCMethodTableInfo > |
using | SerializedObjCSelectorTable = llvm::OnDiskIterableChainedHashTable< ObjCSelectorTableInfo > |
using | SerializedGlobalVariableTable = llvm::OnDiskIterableChainedHashTable< GlobalVariableTableInfo > |
using | SerializedGlobalFunctionTable = llvm::OnDiskIterableChainedHashTable< GlobalFunctionTableInfo > |
using | SerializedEnumConstantTable = llvm::OnDiskIterableChainedHashTable< EnumConstantTableInfo > |
using | SerializedTagTable = llvm::OnDiskIterableChainedHashTable< TagTableInfo > |
using | SerializedTypedefTable = llvm::OnDiskIterableChainedHashTable< TypedefTableInfo > |
Public Member Functions | |
std::optional< IdentifierID > | getIdentifier (llvm::StringRef Str) |
Retrieve the identifier ID for the given string, or an empty optional if the string is unknown. More... | |
std::optional< SelectorID > | getSelector (ObjCSelectorRef Selector) |
Retrieve the selector ID for the given selector, or an empty optional if the string is unknown. More... | |
bool | readControlBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readIdentifierBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readObjCContextBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readObjCPropertyBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readObjCMethodBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readObjCSelectorBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readGlobalVariableBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readGlobalFunctionBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readEnumConstantBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readTagBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
bool | readTypedefBlock (llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl< uint64_t > &Scratch) |
Public Attributes | |
llvm::MemoryBuffer * | InputBuffer |
The input buffer for the API notes data. More... | |
llvm::VersionTuple | SwiftVersion |
The Swift version to use for filtering. More... | |
std::string | ModuleName |
The name of the module that we read from the control block. More... | |
std::optional< std::pair< off_t, time_t > > | SourceFileSizeAndModTime |
std::unique_ptr< SerializedIdentifierTable > | IdentifierTable |
The identifier table. More... | |
std::unique_ptr< SerializedObjCContextIDTable > | ObjCContextIDTable |
The Objective-C context ID table. More... | |
std::unique_ptr< SerializedObjCContextInfoTable > | ObjCContextInfoTable |
The Objective-C context info table. More... | |
std::unique_ptr< SerializedObjCPropertyTable > | ObjCPropertyTable |
The Objective-C property table. More... | |
std::unique_ptr< SerializedObjCMethodTable > | ObjCMethodTable |
The Objective-C method table. More... | |
std::unique_ptr< SerializedObjCSelectorTable > | ObjCSelectorTable |
The Objective-C selector table. More... | |
std::unique_ptr< SerializedGlobalVariableTable > | GlobalVariableTable |
The global variable table. More... | |
std::unique_ptr< SerializedGlobalFunctionTable > | GlobalFunctionTable |
The global function table. More... | |
std::unique_ptr< SerializedEnumConstantTable > | EnumConstantTable |
The enumerator table. More... | |
std::unique_ptr< SerializedTagTable > | TagTable |
The tag table. More... | |
std::unique_ptr< SerializedTypedefTable > | TypedefTable |
The typedef table. More... | |
Definition at line 596 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedEnumConstantTable = llvm::OnDiskIterableChainedHashTable<EnumConstantTableInfo> |
Definition at line 659 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedGlobalFunctionTable = llvm::OnDiskIterableChainedHashTable<GlobalFunctionTableInfo> |
Definition at line 653 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedGlobalVariableTable = llvm::OnDiskIterableChainedHashTable<GlobalVariableTableInfo> |
Definition at line 647 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedIdentifierTable = llvm::OnDiskIterableChainedHashTable<IdentifierTableInfo> |
Definition at line 611 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedObjCContextIDTable = llvm::OnDiskIterableChainedHashTable<ObjCContextIDTableInfo> |
Definition at line 617 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedObjCContextInfoTable = llvm::OnDiskIterableChainedHashTable<ObjCContextInfoTableInfo> |
Definition at line 623 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedObjCMethodTable = llvm::OnDiskIterableChainedHashTable<ObjCMethodTableInfo> |
Definition at line 635 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedObjCPropertyTable = llvm::OnDiskIterableChainedHashTable<ObjCPropertyTableInfo> |
Definition at line 629 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedObjCSelectorTable = llvm::OnDiskIterableChainedHashTable<ObjCSelectorTableInfo> |
Definition at line 641 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedTagTable = llvm::OnDiskIterableChainedHashTable<TagTableInfo> |
Definition at line 665 of file APINotesReader.cpp.
using clang::api_notes::APINotesReader::Implementation::SerializedTypedefTable = llvm::OnDiskIterableChainedHashTable<TypedefTableInfo> |
Definition at line 670 of file APINotesReader.cpp.
std::optional< IdentifierID > clang::api_notes::APINotesReader::Implementation::getIdentifier | ( | llvm::StringRef | Str | ) |
Retrieve the identifier ID for the given string, or an empty optional if the string is unknown.
Definition at line 709 of file APINotesReader.cpp.
References clang::IdentifierTable::end(), and clang::IdentifierTable::find().
std::optional< SelectorID > clang::api_notes::APINotesReader::Implementation::getSelector | ( | ObjCSelectorRef | Selector | ) |
Retrieve the selector ID for the given selector, or an empty optional if the string is unknown.
Definition at line 724 of file APINotesReader.cpp.
References getIdentifier(), clang::api_notes::StoredObjCSelector::Identifiers, and clang::api_notes::StoredObjCSelector::NumArgs.
Referenced by clang::api_notes::APINotesReader::lookupObjCMethod().
bool clang::api_notes::APINotesReader::Implementation::readControlBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 746 of file APINotesReader.cpp.
References clang::api_notes::CONTROL_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readEnumConstantBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 1380 of file APINotesReader.cpp.
References clang::api_notes::ENUM_CONSTANT_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readGlobalFunctionBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 1304 of file APINotesReader.cpp.
References clang::api_notes::GLOBAL_FUNCTION_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readGlobalVariableBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 1228 of file APINotesReader.cpp.
References clang::api_notes::GLOBAL_VARIABLE_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readIdentifierBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 833 of file APINotesReader.cpp.
References clang::api_notes::IDENTIFIER_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readObjCContextBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 909 of file APINotesReader.cpp.
References clang::api_notes::OBJC_CONTEXT_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readObjCMethodBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 1077 of file APINotesReader.cpp.
References clang::api_notes::OBJC_METHOD_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readObjCPropertyBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 1000 of file APINotesReader.cpp.
References clang::api_notes::OBJC_PROPERTY_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readObjCSelectorBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 1152 of file APINotesReader.cpp.
References clang::api_notes::OBJC_SELECTOR_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readTagBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 1456 of file APINotesReader.cpp.
References clang::api_notes::TAG_BLOCK_ID.
bool clang::api_notes::APINotesReader::Implementation::readTypedefBlock | ( | llvm::BitstreamCursor & | Cursor, |
llvm::SmallVectorImpl< uint64_t > & | Scratch | ||
) |
Definition at line 1531 of file APINotesReader.cpp.
References clang::api_notes::TYPEDEF_BLOCK_ID.
std::unique_ptr<SerializedEnumConstantTable> clang::api_notes::APINotesReader::Implementation::EnumConstantTable |
The enumerator table.
Definition at line 663 of file APINotesReader.cpp.
std::unique_ptr<SerializedGlobalFunctionTable> clang::api_notes::APINotesReader::Implementation::GlobalFunctionTable |
The global function table.
Definition at line 657 of file APINotesReader.cpp.
std::unique_ptr<SerializedGlobalVariableTable> clang::api_notes::APINotesReader::Implementation::GlobalVariableTable |
The global variable table.
Definition at line 651 of file APINotesReader.cpp.
std::unique_ptr<SerializedIdentifierTable> clang::api_notes::APINotesReader::Implementation::IdentifierTable |
The identifier table.
Definition at line 615 of file APINotesReader.cpp.
llvm::MemoryBuffer* clang::api_notes::APINotesReader::Implementation::InputBuffer |
The input buffer for the API notes data.
Definition at line 599 of file APINotesReader.cpp.
Referenced by clang::api_notes::APINotesReader::~APINotesReader().
std::string clang::api_notes::APINotesReader::Implementation::ModuleName |
The name of the module that we read from the control block.
Definition at line 605 of file APINotesReader.cpp.
std::unique_ptr<SerializedObjCContextIDTable> clang::api_notes::APINotesReader::Implementation::ObjCContextIDTable |
The Objective-C context ID table.
Definition at line 621 of file APINotesReader.cpp.
std::unique_ptr<SerializedObjCContextInfoTable> clang::api_notes::APINotesReader::Implementation::ObjCContextInfoTable |
The Objective-C context info table.
Definition at line 627 of file APINotesReader.cpp.
std::unique_ptr<SerializedObjCMethodTable> clang::api_notes::APINotesReader::Implementation::ObjCMethodTable |
The Objective-C method table.
Definition at line 639 of file APINotesReader.cpp.
Referenced by clang::api_notes::APINotesReader::lookupObjCMethod().
std::unique_ptr<SerializedObjCPropertyTable> clang::api_notes::APINotesReader::Implementation::ObjCPropertyTable |
The Objective-C property table.
Definition at line 633 of file APINotesReader.cpp.
std::unique_ptr<SerializedObjCSelectorTable> clang::api_notes::APINotesReader::Implementation::ObjCSelectorTable |
The Objective-C selector table.
Definition at line 645 of file APINotesReader.cpp.
std::optional<std::pair<off_t, time_t> > clang::api_notes::APINotesReader::Implementation::SourceFileSizeAndModTime |
Definition at line 609 of file APINotesReader.cpp.
llvm::VersionTuple clang::api_notes::APINotesReader::Implementation::SwiftVersion |
The Swift version to use for filtering.
Definition at line 602 of file APINotesReader.cpp.
Referenced by clang::api_notes::APINotesReader::lookupObjCMethod().
std::unique_ptr<SerializedTagTable> clang::api_notes::APINotesReader::Implementation::TagTable |
The tag table.
Definition at line 668 of file APINotesReader.cpp.
std::unique_ptr<SerializedTypedefTable> clang::api_notes::APINotesReader::Implementation::TypedefTable |
The typedef table.
Definition at line 674 of file APINotesReader.cpp.