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

#include <TypeRecord.h>

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

Public Member Functions

 ArrayRecord (TypeRecordKind Kind)
 
 ArrayRecord (TypeIndex ElementType, TypeIndex IndexType, uint64_t Size, StringRef Name)
 
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. More...
 
TypeIndex getElementType () const
 
TypeIndex getIndexType () const
 
uint64_t getSize () const
 
StringRef getName () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

TypeIndex ElementType
 
TypeIndex IndexType
 
uint64_t Size
 
StringRef Name
 

Additional Inherited Members

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

Detailed Description

Definition at line 385 of file TypeRecord.h.

Constructor & Destructor Documentation

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

Definition at line 387 of file TypeRecord.h.

llvm::codeview::ArrayRecord::ArrayRecord ( TypeIndex  ElementType,
TypeIndex  IndexType,
uint64_t  Size,
StringRef  Name 
)
inline

Definition at line 388 of file TypeRecord.h.

Member Function Documentation

TypeIndex llvm::codeview::ArrayRecord::getElementType ( ) const
inline

Definition at line 397 of file TypeRecord.h.

References ElementType.

TypeIndex llvm::codeview::ArrayRecord::getIndexType ( ) const
inline

Definition at line 398 of file TypeRecord.h.

References IndexType.

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

Definition at line 400 of file TypeRecord.h.

References Name.

uint64_t llvm::codeview::ArrayRecord::getSize ( ) const
inline

Definition at line 399 of file TypeRecord.h.

References Size.

bool ArrayRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap.

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

Definition at line 89 of file TypeRecord.cpp.

References ElementType, IndexType, remapIndex(), and Success.

Member Data Documentation

TypeIndex llvm::codeview::ArrayRecord::ElementType

Definition at line 402 of file TypeRecord.h.

Referenced by getElementType(), and remapTypeIndices().

TypeIndex llvm::codeview::ArrayRecord::IndexType

Definition at line 403 of file TypeRecord.h.

Referenced by getIndexType(), and remapTypeIndices().

StringRef llvm::codeview::ArrayRecord::Name

Definition at line 405 of file TypeRecord.h.

Referenced by getName().

uint64_t llvm::codeview::ArrayRecord::Size

Definition at line 404 of file TypeRecord.h.

Referenced by getSize().


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