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

#include <TypeRecord.h>

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

Public Member Functions

 EnumRecord (TypeRecordKind Kind)
 
 EnumRecord (uint16_t MemberCount, ClassOptions Options, TypeIndex FieldList, StringRef Name, StringRef UniqueName, TypeIndex UnderlyingType)
 
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. Returns false if a type index is not in the map. More...
 
TypeIndex getUnderlyingType () const
 
- Public Member Functions inherited from llvm::codeview::TagRecord
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. More...
 
bool hasUniqueName () const
 
uint16_t getMemberCount () const
 
ClassOptions getOptions () const
 
TypeIndex getFieldList () const
 
StringRef getName () const
 
StringRef getUniqueName () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

TypeIndex UnderlyingType
 
- Public Attributes inherited from llvm::codeview::TagRecord
uint16_t MemberCount
 
ClassOptions Options
 
TypeIndex FieldList
 
StringRef Name
 
StringRef UniqueName
 

Additional Inherited Members

- Static Public Attributes inherited from llvm::codeview::TagRecord
static const int HfaKindShift = 11
 
static const int HfaKindMask = 0x1800
 
static const int WinRTKindShift = 14
 
static const int WinRTKindMask = 0xC000
 
- Protected Member Functions inherited from llvm::codeview::TagRecord
 TagRecord (TypeRecordKind Kind)
 
 TagRecord (TypeRecordKind Kind, uint16_t MemberCount, ClassOptions Options, TypeIndex FieldList, StringRef Name, StringRef UniqueName)
 
- Protected Member Functions inherited from llvm::codeview::TypeRecord
 TypeRecord ()=default
 
 TypeRecord (TypeRecordKind Kind)
 

Detailed Description

Definition at line 500 of file TypeRecord.h.

Constructor & Destructor Documentation

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

Definition at line 502 of file TypeRecord.h.

llvm::codeview::EnumRecord::EnumRecord ( uint16_t  MemberCount,
ClassOptions  Options,
TypeIndex  FieldList,
StringRef  Name,
StringRef  UniqueName,
TypeIndex  UnderlyingType 
)
inline

Definition at line 503 of file TypeRecord.h.

Member Function Documentation

TypeIndex llvm::codeview::EnumRecord::getUnderlyingType ( ) const
inline

Definition at line 512 of file TypeRecord.h.

References UnderlyingType.

bool EnumRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap. Returns false if a type index is not in the map.

Definition at line 108 of file TypeRecord.cpp.

References remapIndex(), llvm::codeview::TagRecord::remapTypeIndices(), Success, and UnderlyingType.

Member Data Documentation

TypeIndex llvm::codeview::EnumRecord::UnderlyingType

Definition at line 513 of file TypeRecord.h.

Referenced by getUnderlyingType(), and remapTypeIndices().


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