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=nullptr)
StringRef getName () const
int64_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 196 of file DebugInfo.h.


Constructor & Destructor Documentation

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

Definition at line 201 of file DebugInfo.h.

References N.


Member Function Documentation

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

Definition at line 204 of file DebugInfo.h.

References llvm::DIDescriptor::getInt64Field().

Definition at line 203 of file DebugInfo.h.

References llvm::DIDescriptor::getStringField().

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().


Friends And Related Function Documentation

friend class DIDescriptor [friend]

Definition at line 197 of file DebugInfo.h.


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