LLVM API Documentation

Public Member Functions | Friends
llvm::DINameSpace Class Reference

DINameSpace - A wrapper for a C++ style name space. More...

#include <DebugInfo.h>

Inheritance diagram for llvm::DINameSpace:
Inheritance graph
[legend]
Collaboration diagram for llvm::DINameSpace:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DINameSpace (const MDNode *N=nullptr)
DIScope getContext () const
StringRef getName () const
 If the scope node has a name, return that, else return an empty string.
unsigned getLineNumber () const
bool Verify () const
 Verify - Verify that a namespace descriptor is well formed.

Friends

class DIDescriptor

Detailed Description

DINameSpace - A wrapper for a C++ style name space.

Definition at line 603 of file DebugInfo.h.


Constructor & Destructor Documentation

llvm::DINameSpace::DINameSpace ( const MDNode N = nullptr) [inline, explicit]

Definition at line 608 of file DebugInfo.h.

References N.


Member Function Documentation

Gets the parent scope for this scope node or returns a default constructed scope.

Reimplemented from llvm::DIScope.

Definition at line 609 of file DebugInfo.h.

Referenced by llvm::DwarfUnit::getOrCreateNameSpace(), and llvm::DebugInfoFinder::processModule().

Definition at line 611 of file DebugInfo.h.

References llvm::DIDescriptor::getUnsignedField().

Referenced by llvm::DwarfUnit::addSourceLine().

If the scope node has a name, return that, else return an empty string.

Reimplemented from llvm::DIScope.

Definition at line 610 of file DebugInfo.h.

References llvm::DIDescriptor::getStringField().

Referenced by llvm::DIScope::getName(), and llvm::DwarfUnit::getOrCreateNameSpace().

Verify - Verify that a namespace descriptor is well formed.

Reimplemented from llvm::DIDescriptor.

Definition at line 616 of file DebugInfo.cpp.

Referenced by llvm::DwarfUnit::addSourceLine(), llvm::DIBuilder::createNameSpace(), and llvm::DIDescriptor::Verify().


Friends And Related Function Documentation

friend class DIDescriptor [friend]

Reimplemented from llvm::DIScope.

Definition at line 604 of file DebugInfo.h.


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