clang 22.0.0git
clang::LocalDeclID Class Reference

#include "clang/AST/DeclID.h"

Inheritance diagram for clang::LocalDeclID:
[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 180 of file DeclID.h.

Constructor & Destructor Documentation

◆ LocalDeclID()

clang::LocalDeclID::LocalDeclID ( )
inline

Definition at line 192 of file DeclID.h.

Member Function Documentation

◆ get() [1/2]

◆ get() [2/2]

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

Definition at line 1046 of file ASTReader.cpp.

References get().

◆ operator++() [1/2]

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

Definition at line 199 of file DeclID.h.

References clang::DeclIDBase::ID.

◆ operator++() [2/2]

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

Definition at line 204 of file DeclID.h.

◆ ASTWriter

friend class ASTWriter
friend

Definition at line 187 of file DeclID.h.

References ASTWriter.

Referenced by ASTWriter.

◆ GlobalDeclID

friend class GlobalDeclID
friend

Definition at line 188 of file DeclID.h.

References GlobalDeclID.

Referenced by GlobalDeclID.

◆ llvm::DenseMapInfo< clang::LocalDeclID >

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

Definition at line 188 of file DeclID.h.


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