clang 22.0.0git
clang::GlobalDeclID Class Reference

#include "clang/AST/DeclID.h"

Inheritance diagram for clang::GlobalDeclID:
[legend]

Public Member Functions

 GlobalDeclID ()
 GlobalDeclID (DeclID ID)
 GlobalDeclID (unsigned ModuleFileIndex, unsigned LocalID)
 operator LocalDeclID () const
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

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

Constructor & Destructor Documentation

◆ GlobalDeclID() [1/3]

clang::GlobalDeclID::GlobalDeclID ( )
inline

Definition at line 215 of file DeclID.h.

◆ GlobalDeclID() [2/3]

clang::GlobalDeclID::GlobalDeclID ( DeclID ID)
inlineexplicit

Definition at line 216 of file DeclID.h.

References clang::DeclIDBase::ID.

◆ GlobalDeclID() [3/3]

clang::GlobalDeclID::GlobalDeclID ( unsigned ModuleFileIndex,
unsigned LocalID )
inlineexplicit

Definition at line 218 of file DeclID.h.

Member Function Documentation

◆ operator LocalDeclID()

clang::GlobalDeclID::operator LocalDeclID ( ) const
inlineexplicit

Definition at line 223 of file DeclID.h.

References clang::DeclIDBase::ID.


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