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 |
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 |
|
static |
Definition at line 937 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(), and clang::ASTReader::ReadDeclID().
|
static |
Definition at line 964 of file ASTReader.cpp.
References get(), and LocalDeclID().
|
inline |
Definition at line 203 of file DeclID.h.
References clang::DeclIDBase::ID.
|
inline |
|
friend |