LLVM API Documentation
DINameSpace - A wrapper for a C++ style name space. More...
#include <DebugInfo.h>
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 |
DINameSpace - A wrapper for a C++ style name space.
Definition at line 603 of file DebugInfo.h.
llvm::DINameSpace::DINameSpace | ( | const MDNode * | N = nullptr | ) | [inline, explicit] |
Definition at line 608 of file DebugInfo.h.
References N.
DIScope llvm::DINameSpace::getContext | ( | ) | const [inline] |
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().
unsigned llvm::DINameSpace::getLineNumber | ( | ) | const [inline] |
Definition at line 611 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by llvm::DwarfUnit::addSourceLine().
StringRef llvm::DINameSpace::getName | ( | ) | const [inline] |
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().
bool DINameSpace::Verify | ( | ) | const |
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().
friend class DIDescriptor [friend] |
Reimplemented from llvm::DIScope.
Definition at line 604 of file DebugInfo.h.