LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::codeview::EnumeratorRecord Class Reference

#include <TypeRecord.h>

Inheritance diagram for llvm::codeview::EnumeratorRecord:
[legend]
Collaboration diagram for llvm::codeview::EnumeratorRecord:
[legend]

Public Member Functions

 EnumeratorRecord (TypeRecordKind Kind)
 
 EnumeratorRecord (MemberAttributes Attrs, APSInt Value, StringRef Name)
 
 EnumeratorRecord (MemberAccess Access, APSInt Value, StringRef Name)
 
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. More...
 
MemberAccess getAccess () const
 
APSInt getValue () const
 
StringRef getName () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

MemberAttributes Attrs
 
APSInt Value
 
StringRef Name
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::codeview::TypeRecord
 TypeRecord ()=default
 
 TypeRecord (TypeRecordKind Kind)
 

Detailed Description

Definition at line 839 of file TypeRecord.h.

Constructor & Destructor Documentation

llvm::codeview::EnumeratorRecord::EnumeratorRecord ( TypeRecordKind  Kind)
inlineexplicit

Definition at line 841 of file TypeRecord.h.

llvm::codeview::EnumeratorRecord::EnumeratorRecord ( MemberAttributes  Attrs,
APSInt  Value,
StringRef  Name 
)
inline

Definition at line 842 of file TypeRecord.h.

llvm::codeview::EnumeratorRecord::EnumeratorRecord ( MemberAccess  Access,
APSInt  Value,
StringRef  Name 
)
inline

Definition at line 845 of file TypeRecord.h.

Member Function Documentation

MemberAccess llvm::codeview::EnumeratorRecord::getAccess ( ) const
inline

Definition at line 853 of file TypeRecord.h.

References Attrs, and llvm::codeview::MemberAttributes::getAccess().

StringRef llvm::codeview::EnumeratorRecord::getName ( ) const
inline

Definition at line 855 of file TypeRecord.h.

References Name.

APSInt llvm::codeview::EnumeratorRecord::getValue ( ) const
inline

Definition at line 854 of file TypeRecord.h.

References Value.

bool EnumeratorRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap.

Returns false if a type index is not in the map.

Definition at line 192 of file TypeRecord.cpp.

Member Data Documentation

MemberAttributes llvm::codeview::EnumeratorRecord::Attrs

Definition at line 857 of file TypeRecord.h.

Referenced by getAccess().

StringRef llvm::codeview::EnumeratorRecord::Name

Definition at line 859 of file TypeRecord.h.

Referenced by getName().

APSInt llvm::codeview::EnumeratorRecord::Value

Definition at line 858 of file TypeRecord.h.

Referenced by getValue().


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