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

#include <TypeRecord.h>

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

Public Member Functions

 BitFieldRecord (TypeRecordKind Kind)
 
 BitFieldRecord (TypeIndex Type, uint8_t BitSize, uint8_t BitOffset)
 
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. More...
 
TypeIndex getType () const
 
uint8_t getBitOffset () const
 
uint8_t getBitSize () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

TypeIndex Type
 
uint8_t BitSize
 
uint8_t BitOffset
 

Additional Inherited Members

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

Detailed Description

Definition at line 517 of file TypeRecord.h.

Constructor & Destructor Documentation

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

Definition at line 519 of file TypeRecord.h.

llvm::codeview::BitFieldRecord::BitFieldRecord ( TypeIndex  Type,
uint8_t  BitSize,
uint8_t  BitOffset 
)
inline

Definition at line 520 of file TypeRecord.h.

Member Function Documentation

uint8_t llvm::codeview::BitFieldRecord::getBitOffset ( ) const
inline

Definition at line 529 of file TypeRecord.h.

References BitOffset.

uint8_t llvm::codeview::BitFieldRecord::getBitSize ( ) const
inline

Definition at line 530 of file TypeRecord.h.

References BitSize.

TypeIndex llvm::codeview::BitFieldRecord::getType ( ) const
inline

Definition at line 528 of file TypeRecord.h.

References Type.

bool BitFieldRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap.

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

Definition at line 115 of file TypeRecord.cpp.

References remapIndex().

Member Data Documentation

uint8_t llvm::codeview::BitFieldRecord::BitOffset

Definition at line 533 of file TypeRecord.h.

Referenced by getBitOffset().

uint8_t llvm::codeview::BitFieldRecord::BitSize

Definition at line 532 of file TypeRecord.h.

Referenced by getBitSize().

TypeIndex llvm::codeview::BitFieldRecord::Type

Definition at line 531 of file TypeRecord.h.

Referenced by getType().


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