llvm::DINamespace::get

get overloads

Synopses

Declared in <llvm/IR/Metadata.h>

Return a uniqued tuple metadata node with operands MDs.

static
MDTuple*
get(
    LLVMContext& Context,
    ArrayRef<Metadata*> MDs);
» more...

Get or create a DINamespace with the given operands.

static
DINamespace*
get(
    LLVMContext& Context,
    DIScope* Scope,
    StringRef Name,
    bool ExportSymbols);
» more...

Get or create a DINamespace with the given operands.

static
DINamespace*
get(
    LLVMContext& Context,
    Metadata* Scope,
    MDString* Name,
    bool ExportSymbols);
» more...

Return Value

  • A uniqued tuple metadata node with operands MDs.
  • The metadata node (uniqued, distinct, or temporary as requested); getIfExists may return nullptr.

Parameters

NameDescription
ContextLLVM context that owns the node.
MDsOperand metadata.
ScopeParent lexical or type scope.
NameSource-level name.
ExportSymbolsWhether the namespace exports its symbols.