tvm
Public Member Functions | Public Attributes | Friends | List of all members
tvm::DiagnosticBuilder Class Reference

A wrapper around std::stringstream to build a diagnostic. More...

#include <diagnostic.h>

Collaboration diagram for tvm::DiagnosticBuilder:

Public Member Functions

template<typename T >
DiagnosticBuilderoperator<< (const T &val)
 
 DiagnosticBuilder ()
 
 DiagnosticBuilder (const DiagnosticBuilder &builder)
 
 DiagnosticBuilder (DiagnosticLevel level, Span span)
 
 operator Diagnostic ()
 

Public Attributes

DiagnosticLevel level
 The level. More...
 
SourceName source_name
 The source name. More...
 
Span span
 The span of the diagnostic. More...
 

Friends

class Diagnostic
 

Detailed Description

A wrapper around std::stringstream to build a diagnostic.

Constructor & Destructor Documentation

◆ DiagnosticBuilder() [1/3]

tvm::DiagnosticBuilder::DiagnosticBuilder ( )
inline

◆ DiagnosticBuilder() [2/3]

tvm::DiagnosticBuilder::DiagnosticBuilder ( const DiagnosticBuilder builder)
inline

◆ DiagnosticBuilder() [3/3]

tvm::DiagnosticBuilder::DiagnosticBuilder ( DiagnosticLevel  level,
Span  span 
)
inline

Member Function Documentation

◆ operator Diagnostic()

tvm::DiagnosticBuilder::operator Diagnostic ( )
inline

◆ operator<<()

template<typename T >
DiagnosticBuilder& tvm::DiagnosticBuilder::operator<< ( const T &  val)
inline

Friends And Related Function Documentation

◆ Diagnostic

friend class Diagnostic
friend

Member Data Documentation

◆ level

DiagnosticLevel tvm::DiagnosticBuilder::level

The level.

◆ source_name

SourceName tvm::DiagnosticBuilder::source_name

The source name.

◆ span

Span tvm::DiagnosticBuilder::span

The span of the diagnostic.


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