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

#include <TypeRecord.h>

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

Public Member Functions

 UdtSourceLineRecord (TypeRecordKind Kind)
 
 UdtSourceLineRecord (TypeIndex UDT, TypeIndex SourceFile, uint32_t LineNumber)
 
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. More...
 
TypeIndex getUDT () const
 
TypeIndex getSourceFile () const
 
uint32_t getLineNumber () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

TypeIndex UDT
 
TypeIndex SourceFile
 
uint32_t LineNumber
 

Additional Inherited Members

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

Detailed Description

Definition at line 625 of file TypeRecord.h.

Constructor & Destructor Documentation

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

Definition at line 627 of file TypeRecord.h.

llvm::codeview::UdtSourceLineRecord::UdtSourceLineRecord ( TypeIndex  UDT,
TypeIndex  SourceFile,
uint32_t  LineNumber 
)
inline

Definition at line 628 of file TypeRecord.h.

Member Function Documentation

uint32_t llvm::codeview::UdtSourceLineRecord::getLineNumber ( ) const
inline

Definition at line 638 of file TypeRecord.h.

References LineNumber.

TypeIndex llvm::codeview::UdtSourceLineRecord::getSourceFile ( ) const
inline

Definition at line 637 of file TypeRecord.h.

References SourceFile.

TypeIndex llvm::codeview::UdtSourceLineRecord::getUDT ( ) const
inline

Definition at line 636 of file TypeRecord.h.

References UDT.

Referenced by llvm::pdb::TpiHashVerifier::visitKnownRecord().

bool UdtSourceLineRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap.

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

Definition at line 138 of file TypeRecord.cpp.

References remapIndex(), SourceFile, Success, and UDT.

Member Data Documentation

uint32_t llvm::codeview::UdtSourceLineRecord::LineNumber

Definition at line 642 of file TypeRecord.h.

Referenced by getLineNumber().

TypeIndex llvm::codeview::UdtSourceLineRecord::SourceFile

Definition at line 641 of file TypeRecord.h.

Referenced by getSourceFile(), and remapTypeIndices().

TypeIndex llvm::codeview::UdtSourceLineRecord::UDT

Definition at line 640 of file TypeRecord.h.

Referenced by getUDT(), and remapTypeIndices().


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