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
 

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 185 of file DeclID.h.

Constructor & Destructor Documentation

◆ LocalDeclID()

clang::LocalDeclID::LocalDeclID ( )
inline

Definition at line 196 of file DeclID.h.

Referenced by get().

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 964 of file ASTReader.cpp.

References get(), and LocalDeclID().

◆ operator++() [1/2]

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

Definition at line 203 of file DeclID.h.

References clang::DeclIDBase::ID.

◆ operator++() [2/2]

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

Definition at line 208 of file DeclID.h.

Friends And Related Function Documentation

◆ ASTWriter

friend class ASTWriter
friend

Definition at line 192 of file DeclID.h.

◆ GlobalDeclID

friend class GlobalDeclID
friend

Definition at line 193 of file DeclID.h.


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