LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::codeview::TypeVisitorCallbacks Class Reference

#include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h"

Inheritance diagram for llvm::codeview::TypeVisitorCallbacks:
Inheritance graph
[legend]

Public Member Functions

virtual ~TypeVisitorCallbacks ()=default
 
virtual Error visitUnknownType (CVType &Record)
 Action to take on unknown types. By default, they are ignored. More...
 
virtual Error visitTypeBegin (CVType &Record)
 Paired begin/end actions for all types. More...
 
virtual Error visitTypeBegin (CVType &Record, TypeIndex Index)
 
virtual Error visitTypeEnd (CVType &Record)
 
virtual Error visitUnknownMember (CVMemberRecord &Record)
 
virtual Error visitMemberBegin (CVMemberRecord &Record)
 
virtual Error visitMemberEnd (CVMemberRecord &Record)
 

Detailed Description

Definition at line 19 of file TypeVisitorCallbacks.h.

Constructor & Destructor Documentation

◆ ~TypeVisitorCallbacks()

virtual llvm::codeview::TypeVisitorCallbacks::~TypeVisitorCallbacks ( )
virtualdefault

Member Function Documentation

◆ visitMemberBegin()

virtual Error llvm::codeview::TypeVisitorCallbacks::visitMemberBegin ( CVMemberRecord Record)
inlinevirtual

◆ visitMemberEnd()

virtual Error llvm::codeview::TypeVisitorCallbacks::visitMemberEnd ( CVMemberRecord Record)
inlinevirtual

◆ visitTypeBegin() [1/2]

virtual Error llvm::codeview::TypeVisitorCallbacks::visitTypeBegin ( CVType Record)
inlinevirtual

Paired begin/end actions for all types.

Receives all record data, including the fixed-length record prefix. visitTypeBegin() should return the type of the Record, or an error if it cannot be determined. Exactly one of the two visitTypeBegin methods will be called, depending on whether records are being visited sequentially or randomly. An implementation should be prepared to handle both (or assert if it can't handle random access visitation).

Reimplemented in llvm::codeview::TypeDeserializer, llvm::codeview::TypeDumpVisitor, llvm::codeview::TypeVisitorCallbackPipeline, and llvm::codeview::TypeRecordMapping.

Definition at line 32 of file TypeVisitorCallbacks.h.

References llvm::Error::success().

Referenced by llvm::codeview::TypeRecordMapping::TypeRecordMapping(), and visitMemberRecord().

◆ visitTypeBegin() [2/2]

virtual Error llvm::codeview::TypeVisitorCallbacks::visitTypeBegin ( CVType Record,
TypeIndex  Index 
)
inlinevirtual

◆ visitTypeEnd()

virtual Error llvm::codeview::TypeVisitorCallbacks::visitTypeEnd ( CVType Record)
inlinevirtual

◆ visitUnknownMember()

virtual Error llvm::codeview::TypeVisitorCallbacks::visitUnknownMember ( CVMemberRecord Record)
inlinevirtual

◆ visitUnknownType()

virtual Error llvm::codeview::TypeVisitorCallbacks::visitUnknownType ( CVType Record)
inlinevirtual

Action to take on unknown types. By default, they are ignored.

Reimplemented in llvm::codeview::TypeDumpVisitor.

Definition at line 24 of file TypeVisitorCallbacks.h.

References llvm::Error::success().

Referenced by visitMemberRecord().


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