LLVM 22.0.0git
llvm::ContextWorklistItem Struct Reference

This class represents an item in the work list. More...

Public Member Functions

 ContextWorklistItem (DWARFDie Die, ContextWorklistItemType T, CompileUnit::DIEInfo *OtherInfo=nullptr)
 ContextWorklistItem (DWARFDie Die, DeclContext *Context, unsigned ParentIdx, bool InImportedModule)

Public Attributes

DWARFDie Die
unsigned ParentIdx
union { 
   CompileUnit::DIEInfo *   OtherInfo 
   DeclContext *   Context 
}; 
ContextWorklistItemType Type
bool InImportedModule

Detailed Description

This class represents an item in the work list.

The type defines what kind of work needs to be performed when processing the current item. Everything but the Type and Die fields are optional based on the type.

Definition at line 247 of file DWARFLinker.cpp.

Constructor & Destructor Documentation

◆ ContextWorklistItem() [1/2]

llvm::ContextWorklistItem::ContextWorklistItem ( DWARFDie Die,
ContextWorklistItemType T,
CompileUnit::DIEInfo * OtherInfo = nullptr )
inline

Definition at line 257 of file DWARFLinker.cpp.

References Die, InImportedModule, OtherInfo, ParentIdx, T, and Type.

◆ ContextWorklistItem() [2/2]

llvm::ContextWorklistItem::ContextWorklistItem ( DWARFDie Die,
DeclContext * Context,
unsigned ParentIdx,
bool InImportedModule )
inline

Definition at line 262 of file DWARFLinker.cpp.

References llvm::AnalyzeContextInfo, Context, Die, InImportedModule, ParentIdx, and Type.

Member Data Documentation

◆ [union]

◆ Context

DeclContext* llvm::ContextWorklistItem::Context

Definition at line 252 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo(), and ContextWorklistItem().

◆ Die

DWARFDie llvm::ContextWorklistItem::Die

◆ InImportedModule

bool llvm::ContextWorklistItem::InImportedModule

◆ OtherInfo

CompileUnit::DIEInfo* llvm::ContextWorklistItem::OtherInfo

Definition at line 251 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo(), and ContextWorklistItem().

◆ ParentIdx

unsigned llvm::ContextWorklistItem::ParentIdx

◆ Type

ContextWorklistItemType llvm::ContextWorklistItem::Type

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