LLVM API Documentation

llvm::DIEnumerator Class Reference

#include <DebugInfo.h>

Inheritance diagram for llvm::DIEnumerator:
[legend]
Collaboration diagram for llvm::DIEnumerator:
[legend]

List of all members.

Public Member Functions

 DIEnumerator (GlobalVariable *GV=0)
std::string getName () const
uint64_t getEnumValue () const


Detailed Description

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 135 of file DebugInfo.h.


Constructor & Destructor Documentation

DIEnumerator::DIEnumerator ( GlobalVariable *  GV = 0  )  [explicit]

Definition at line 90 of file DebugInfo.cpp.


Member Function Documentation

std::string llvm::DIEnumerator::getName (  )  const [inline]

Definition at line 139 of file DebugInfo.h.

References llvm::DIDescriptor::getStringField().

uint64_t llvm::DIEnumerator::getEnumValue (  )  const [inline]

Definition at line 140 of file DebugInfo.h.

References llvm::DIDescriptor::getUInt64Field().


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