ΒΆLLVMMetadataRef LLVMDIBuilderCreateNameSpace(
    LLVMDIBuilderRef Builder,
    LLVMMetadataRef ParentScope,
    const char* Name,
    size_t NameLen,
    LLVMBool ExportSymbols)

Description

Creates a new descriptor for a namespace with the specified parent scope.

Declared at: llvm/include/llvm-c/DebugInfo.h:328

Parameters

LLVMDIBuilderRef Builder
The \c DIBuilder.
LLVMMetadataRef ParentScope
The parent scope containing this module declaration.
const char* Name
NameSpace name.
size_t NameLen
The length of the C string passed to \c Name.
LLVMBool ExportSymbols
Whether or not the namespace exports symbols, e.g. this is true of C++ inline namespaces.