LLVM API Documentation
#include <DebugInfo.h>
Public Member Functions | |
DIEnumerator (const MDNode *N=nullptr) | |
StringRef | getName () const |
int64_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 196 of file DebugInfo.h.
llvm::DIEnumerator::DIEnumerator | ( | const MDNode * | N = nullptr | ) | [inline, explicit] |
Definition at line 201 of file DebugInfo.h.
References N.
int64_t llvm::DIEnumerator::getEnumValue | ( | ) | const [inline] |
Definition at line 204 of file DebugInfo.h.
References llvm::DIDescriptor::getInt64Field().
StringRef llvm::DIEnumerator::getName | ( | ) | const [inline] |
Definition at line 203 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
bool DIEnumerator::Verify | ( | ) | const |
Verify that the enumerator descriptor is well formed.
Reimplemented from llvm::DIDescriptor.
Definition at line 631 of file DebugInfo.cpp.
Referenced by llvm::DIDescriptor::Verify().
friend class DIDescriptor [friend] |
Definition at line 197 of file DebugInfo.h.