LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::codeview::serialize_conditional_impl< T, U > Struct Template Reference

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

Collaboration diagram for llvm::codeview::serialize_conditional_impl< T, U >:
Collaboration graph
[legend]

Public Member Functions

 serialize_conditional_impl (T &Item, U Func)
 
Error deserialize (BinaryStreamReader &Reader) const
 

Public Attributes

TItem
 
Func
 

Detailed Description

template<typename T, typename U>
struct llvm::codeview::serialize_conditional_impl< T, U >

Definition at line 71 of file RecordSerialization.h.

Constructor & Destructor Documentation

◆ serialize_conditional_impl()

template<typename T, typename U>
llvm::codeview::serialize_conditional_impl< T, U >::serialize_conditional_impl ( T Item,
Func 
)
inline

Definition at line 72 of file RecordSerialization.h.

Member Function Documentation

◆ deserialize()

template<typename T, typename U>
Error llvm::codeview::serialize_conditional_impl< T, U >::deserialize ( BinaryStreamReader Reader) const
inline

Definition at line 74 of file RecordSerialization.h.

References llvm::codeview::consume(), and llvm::Error::success().

Referenced by llvm::codeview::consume().

Member Data Documentation

◆ Func

template<typename T, typename U>
U llvm::codeview::serialize_conditional_impl< T, U >::Func

Definition at line 81 of file RecordSerialization.h.

◆ Item

template<typename T, typename U>
T& llvm::codeview::serialize_conditional_impl< T, U >::Item

Definition at line 80 of file RecordSerialization.h.


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