clang 20.0.0git
|
#include "clang/AST/DeclID.h"
Public Member Functions | |
LocalDeclID () | |
LocalDeclID & | operator++ () |
LocalDeclID | operator++ (int) |
Public Member Functions inherited from clang::DeclIDBase | |
DeclID | getRawValue () const |
operator DeclID () const | |
operator PredefinedDeclIDs () const | |
bool | isValid () const |
bool | isInvalid () const |
unsigned | getModuleFileIndex () const |
unsigned | getLocalDeclIndex () const |
Static Public Member Functions | |
static LocalDeclID | get (ASTReader &Reader, serialization::ModuleFile &MF, DeclID ID) |
static LocalDeclID | get (ASTReader &Reader, serialization::ModuleFile &MF, unsigned ModuleFileIndex, unsigned LocalDeclID) |
Friends | |
class | ASTWriter |
class | GlobalDeclID |
struct | llvm::DenseMapInfo< clang::LocalDeclID > |
Additional Inherited Members | |
Public Types inherited from clang::DeclIDBase | |
using | DeclID = uint64_t |
An ID number that refers to a declaration in an AST file. | |
Protected Member Functions inherited from clang::DeclIDBase | |
DeclIDBase () | |
DeclIDBase (DeclID ID) | |
Protected Attributes inherited from clang::DeclIDBase | |
DeclID | ID |
|
inline |
Definition at line 195 of file DeclID.h.
Referenced by get(), llvm::DenseMapInfo< clang::LocalDeclID >::getEmptyKey(), and llvm::DenseMapInfo< clang::LocalDeclID >::getTombstoneKey().
|
static |
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::ASTDeclContextNameLookupTrait::ReadDataInto(), clang::serialization::reader::LazySpecializationInfoLookupTrait::ReadDataInto(), and clang::ASTReader::ReadDeclID().
|
static |
Definition at line 968 of file ASTReader.cpp.
References get(), and LocalDeclID().
|
inline |
Definition at line 202 of file DeclID.h.
References clang::DeclIDBase::ID.
|
inline |
|
friend |
Definition at line 191 of file DeclID.h.
Referenced by llvm::DenseMapInfo< clang::GlobalDeclID >::getEmptyKey(), and llvm::DenseMapInfo< clang::GlobalDeclID >::getTombstoneKey().
|
friend |