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

#include <TypeRecord.h>

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

Public Member Functions

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

uint16_t MemberCount
 
ClassOptions Options
 
TypeIndex FieldList
 
StringRef Name
 
StringRef UniqueName
 

Static Public Attributes

static const int HfaKindShift = 11
 
static const int HfaKindMask = 0x1800
 
static const int WinRTKindShift = 14
 
static const int WinRTKindMask = 0xC000
 

Protected Member Functions

 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 408 of file TypeRecord.h.

Constructor & Destructor Documentation

llvm::codeview::TagRecord::TagRecord ( TypeRecordKind  Kind)
inlineexplicitprotected

Definition at line 410 of file TypeRecord.h.

llvm::codeview::TagRecord::TagRecord ( TypeRecordKind  Kind,
uint16_t  MemberCount,
ClassOptions  Options,
TypeIndex  FieldList,
StringRef  Name,
StringRef  UniqueName 
)
inlineprotected

Definition at line 411 of file TypeRecord.h.

Member Function Documentation

TypeIndex llvm::codeview::TagRecord::getFieldList ( ) const
inline

Definition at line 432 of file TypeRecord.h.

References FieldList.

uint16_t llvm::codeview::TagRecord::getMemberCount ( ) const
inline

Definition at line 430 of file TypeRecord.h.

References MemberCount.

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

Definition at line 433 of file TypeRecord.h.

References Name.

ClassOptions llvm::codeview::TagRecord::getOptions ( ) const
inline

Definition at line 431 of file TypeRecord.h.

References Options.

StringRef llvm::codeview::TagRecord::getUniqueName ( ) const
inline

Definition at line 434 of file TypeRecord.h.

References UniqueName.

bool llvm::codeview::TagRecord::hasUniqueName ( ) const
inline

Definition at line 426 of file TypeRecord.h.

References llvm::codeview::HasUniqueName, llvm::codeview::None, and Options.

bool TagRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap.

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

Definition at line 96 of file TypeRecord.cpp.

References FieldList, and remapIndex().

Referenced by llvm::codeview::ClassRecord::remapTypeIndices(), and llvm::codeview::EnumRecord::remapTypeIndices().

Member Data Documentation

TypeIndex llvm::codeview::TagRecord::FieldList

Definition at line 438 of file TypeRecord.h.

Referenced by getFieldList(), and remapTypeIndices().

const int llvm::codeview::TagRecord::HfaKindMask = 0x1800
static
const int llvm::codeview::TagRecord::HfaKindShift = 11
static
uint16_t llvm::codeview::TagRecord::MemberCount

Definition at line 436 of file TypeRecord.h.

Referenced by getMemberCount().

StringRef llvm::codeview::TagRecord::Name

Definition at line 439 of file TypeRecord.h.

Referenced by getName().

ClassOptions llvm::codeview::TagRecord::Options
StringRef llvm::codeview::TagRecord::UniqueName

Definition at line 440 of file TypeRecord.h.

Referenced by getUniqueName().

const int llvm::codeview::TagRecord::WinRTKindMask = 0xC000
static

Definition at line 424 of file TypeRecord.h.

Referenced by llvm::codeview::ClassRecord::getWinRTKind().

const int llvm::codeview::TagRecord::WinRTKindShift = 14
static

Definition at line 423 of file TypeRecord.h.

Referenced by llvm::codeview::ClassRecord::getWinRTKind().


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