LLVM API Documentation
#include <DebugInfo.h>


Public Member Functions | |
| DIEnumerator (const MDNode *N=0) | |
| StringRef | getName () const |
| uint64_t | getEnumValue () const |
| bool | Verify () const |
| Verify that the enumerator descriptor is well formed. | |
Friends | |
| class | DIDescriptor |
DIEnumerator - A wrapper for an enumerator (e.g. X and Y in 'enum {X,Y}'). FIXME: it seems strange that this doesn't have either a reference to the type/precision or a file/line pair for location info.
Definition at line 217 of file DebugInfo.h.
| llvm::DIEnumerator::DIEnumerator | ( | const MDNode * | N = 0 | ) | [inline, explicit] |
Definition at line 221 of file DebugInfo.h.
References N.
| uint64_t llvm::DIEnumerator::getEnumValue | ( | ) | const [inline] |
Definition at line 224 of file DebugInfo.h.
References llvm::DIDescriptor::getUInt64Field().
Referenced by llvm::CompileUnit::constructEnumTypeDIE().
| StringRef llvm::DIEnumerator::getName | ( | ) | const [inline] |
Definition at line 223 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by llvm::CompileUnit::constructEnumTypeDIE().
| bool DIEnumerator::Verify | ( | ) | const |
Verify that the enumerator descriptor is well formed.
Reimplemented from llvm::DIDescriptor.
Definition at line 563 of file DebugInfo.cpp.
References llvm::DIDescriptor::DbgNode, llvm::MDNode::getNumOperands(), and llvm::DIDescriptor::isEnumerator().
Referenced by llvm::DIDescriptor::Verify().
friend class DIDescriptor [friend] |
Definition at line 218 of file DebugInfo.h.