clang 20.0.0git
Public Member Functions | List of all members
clang::GlobalDeclID Class Reference

#include "clang/AST/DeclID.h"

Inheritance diagram for clang::GlobalDeclID:
Inheritance graph
[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 215 of file DeclID.h.

Constructor & Destructor Documentation

◆ GlobalDeclID() [1/3]

clang::GlobalDeclID::GlobalDeclID ( )
inline

Definition at line 219 of file DeclID.h.

◆ GlobalDeclID() [2/3]

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

Definition at line 220 of file DeclID.h.

◆ GlobalDeclID() [3/3]

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

Definition at line 222 of file DeclID.h.

Member Function Documentation

◆ operator LocalDeclID()

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

Definition at line 227 of file DeclID.h.

References clang::DeclIDBase::ID.


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