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

#include <TypeRecord.h>

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

Public Member Functions

 StringIdRecord (TypeRecordKind Kind)
 
 StringIdRecord (TypeIndex Id, StringRef String)
 
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. More...
 
TypeIndex getId () const
 
StringRef getString () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

TypeIndex Id
 
StringRef String
 

Additional Inherited Members

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

Detailed Description

Definition at line 584 of file TypeRecord.h.

Constructor & Destructor Documentation

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

Definition at line 586 of file TypeRecord.h.

llvm::codeview::StringIdRecord::StringIdRecord ( TypeIndex  Id,
StringRef  String 
)
inline

Definition at line 587 of file TypeRecord.h.

Member Function Documentation

TypeIndex llvm::codeview::StringIdRecord::getId ( ) const
inline

Definition at line 594 of file TypeRecord.h.

References Id.

StringRef llvm::codeview::StringIdRecord::getString ( ) const
inline

Definition at line 596 of file TypeRecord.h.

References String.

bool StringIdRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap.

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

Definition at line 127 of file TypeRecord.cpp.

References Id, and remapIndex().

Member Data Documentation

TypeIndex llvm::codeview::StringIdRecord::Id

Definition at line 597 of file TypeRecord.h.

Referenced by getId(), and remapTypeIndices().

StringRef llvm::codeview::StringIdRecord::String

Definition at line 598 of file TypeRecord.h.

Referenced by getString().


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