LLVM API Documentation

Public Member Functions | Friends
llvm::DIEnumerator Class Reference

#include <DebugInfo.h>

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

List of all members.

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

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


Constructor & Destructor Documentation

llvm::DIEnumerator::DIEnumerator ( const MDNode N = 0) [inline, explicit]

Definition at line 221 of file DebugInfo.h.

References N.


Member Function Documentation

uint64_t llvm::DIEnumerator::getEnumValue ( ) const [inline]
StringRef llvm::DIEnumerator::getName ( ) const [inline]
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().


Friends And Related Function Documentation

friend class DIDescriptor [friend]

Definition at line 218 of file DebugInfo.h.


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