class DINamespace

Declaration

class DINamespace : public DIScope { /* full declaration omitted */ };

Description

Base class for scope-like contexts. Base class for lexical scopes and types (which are also declaration contexts). TODO: Separate the concepts of declaration contexts and lexical scopes.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2258

Inherits from: DIScope

Member Variables

private unsigned int ExportSymbols

Inherited from Metadata:

protected Storage
protected SubclassData1
protected SubclassData16 = 0
protected SubclassData32 = 0

Method Overview

  • private DINamespace(llvm::LLVMContext & Context, llvm::Metadata::StorageType Storage, bool ExportSymbols, ArrayRef<llvm::Metadata *> Ops)
  • public static bool classof(const llvm::Metadata * MD)
  • public llvm::TempDINamespace clone() const
  • private llvm::TempDINamespace cloneImpl() const
  • public bool getExportSymbols() const
  • private static llvm::DINamespace * getImpl(llvm::LLVMContext & Context, llvm::DIScope * Scope, llvm::StringRef Name, bool ExportSymbols, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • private static llvm::DINamespace * getImpl(llvm::LLVMContext & Context, llvm::Metadata * Scope, llvm::MDString * Name, bool ExportSymbols, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • public llvm::StringRef getName() const
  • public llvm::MDString * getRawName() const
  • public llvm::Metadata * getRawScope() const
  • public llvm::DIScope * getScope() const
  • private ~DINamespace()

Inherited from DIScope:

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

DINamespace(llvm::LLVMContext& Context,
            llvm::Metadata::StorageType Storage,
            bool ExportSymbols,
            ArrayRef<llvm::Metadata*> Ops)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2264

Parameters

llvm::LLVMContext& Context
llvm::Metadata::StorageType Storage
bool ExportSymbols
ArrayRef<llvm::Metadata*> Ops

static bool classof(const llvm::Metadata* MD)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2300

Parameters

const llvm::Metadata* MD

llvm::TempDINamespace clone() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2291

llvm::TempDINamespace cloneImpl() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2278

bool getExportSymbols() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2293

static llvm::DINamespace* getImpl(
    llvm::LLVMContext& Context,
    llvm::DIScope* Scope,
    llvm::StringRef Name,
    bool ExportSymbols,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2268

Parameters

llvm::LLVMContext& Context
llvm::DIScope* Scope
llvm::StringRef Name
bool ExportSymbols
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

static llvm::DINamespace* getImpl(
    llvm::LLVMContext& Context,
    llvm::Metadata* Scope,
    llvm::MDString* Name,
    bool ExportSymbols,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2274

Parameters

llvm::LLVMContext& Context
llvm::Metadata* Scope
llvm::MDString* Name
bool ExportSymbols
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

llvm::StringRef getName() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2295

llvm::MDString* getRawName() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2298

llvm::Metadata* getRawScope() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2297

llvm::DIScope* getScope() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2294

~DINamespace()

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2266