clang 20.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::LocalDeclID Class Reference

#include "clang/AST/DeclID.h"

Inheritance diagram for clang::LocalDeclID:
Inheritance graph
[legend]

Public Member Functions

 LocalDeclID ()
 
LocalDeclIDoperator++ ()
 
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
 

Detailed Description

Definition at line 183 of file DeclID.h.

Constructor & Destructor Documentation

◆ LocalDeclID()

clang::LocalDeclID::LocalDeclID ( )
inline

Member Function Documentation

◆ get() [1/2]

LocalDeclID LocalDeclID::get ( ASTReader Reader,
serialization::ModuleFile MF,
DeclID  ID 
)
static

◆ get() [2/2]

LocalDeclID LocalDeclID::get ( ASTReader Reader,
serialization::ModuleFile MF,
unsigned  ModuleFileIndex,
unsigned  LocalDeclID 
)
static

Definition at line 968 of file ASTReader.cpp.

References get(), and LocalDeclID().

◆ operator++() [1/2]

LocalDeclID & clang::LocalDeclID::operator++ ( )
inline

Definition at line 202 of file DeclID.h.

References clang::DeclIDBase::ID.

◆ operator++() [2/2]

LocalDeclID clang::LocalDeclID::operator++ ( int  )
inline

Definition at line 207 of file DeclID.h.

Friends And Related Function Documentation

◆ ASTWriter

friend class ASTWriter
friend

Definition at line 190 of file DeclID.h.

◆ GlobalDeclID

friend class GlobalDeclID
friend

◆ llvm::DenseMapInfo< clang::LocalDeclID >

friend struct llvm::DenseMapInfo< clang::LocalDeclID >
friend

Definition at line 191 of file DeclID.h.


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