clang: clang::LocalDeclID Class Reference (original) (raw)
#include "[clang/AST/DeclID.h](DeclID%5F8h%5Fsource.html)"
Inheritance diagram for clang::LocalDeclID:
Public Member Functions | |
---|---|
LocalDeclID () | |
LocalDeclID & | operator++ () |
LocalDeclID | operator++ (int) |
![]() |
|
DeclID | getRawValue () const |
operator DeclID () const | |
operator PredefinedDeclIDs () const | |
bool | isValid () const |
bool | isInvalid () const |
unsigned | getModuleFileIndex () const |
unsigned | getLocalDeclIndex () const |
Friends | |
---|---|
class | ASTWriter |
class | GlobalDeclID |
struct | llvm::DenseMapInfo< clang::LocalDeclID > |
Additional Inherited Members | |
---|---|
![]() |
|
using | DeclID = uint64_t |
An ID number that refers to a declaration in an AST file. | |
![]() |
|
DeclIDBase () | |
DeclIDBase (DeclID ID) | |
![]() |
|
DeclID | ID |
Detailed Description
Definition at line 183 of file DeclID.h.
Constructor & Destructor Documentation
clang::LocalDeclID::LocalDeclID ( ) | inline |
---|
Member Function Documentation
◆ get() [1/2]
Definition at line 941 of file ASTReader.cpp.
References clang::DeclIDBase::ID, clang::serialization::ModuleFile::LocalNumDecls, clang::serialization::ModuleFile::ModuleOffsetMap, clang::NUM_PREDEF_DECL_IDS, and clang::serialization::ModuleFile::TransitiveImports.
Referenced by clang::ASTReader::FindExternalLexicalDecls(), clang::ASTReader::FindFileRegionDecls(), get(), clang::ASTReader::mapGlobalIDToModuleFileGlobalID(), clang::ASTReader::ModuleDeclIterator::operator*(), clang::serialization::reader::ASTIdentifierLookupTrait::ReadData(), clang::serialization::reader::ASTSelectorLookupTrait::ReadData(), clang::serialization::reader::LazySpecializationInfoLookupTrait::ReadDataInto(), clang::serialization::reader::ASTDeclContextNameLookupTraitBase::ReadDataIntoImpl(), and clang::ASTReader::ReadDeclID().
◆ get() [2/2]
◆ operator++() [1/2]
LocalDeclID & clang::LocalDeclID::operator++ ( ) | inline |
---|
◆ operator++() [2/2]
Friends And Related Function Documentation
◆ ASTWriter
◆ GlobalDeclID
◆ llvm::DenseMapInfo< clang::LocalDeclID >
The documentation for this class was generated from the following files:
- include/clang/AST/DeclID.h
- lib/Serialization/ASTReader.cpp