LLVM  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::BitcodeDiagnosticInfo Class Reference

#include <ReaderWriter.h>

Inheritance diagram for llvm::BitcodeDiagnosticInfo:
[legend]
Collaboration diagram for llvm::BitcodeDiagnosticInfo:
[legend]

Public Member Functions

 BitcodeDiagnosticInfo (std::error_code EC, DiagnosticSeverity Severity, const Twine &Msg)
 
void print (DiagnosticPrinter &DP) const override
 Print using the given DP a user-friendly message. More...
 
std::error_code getError () const
 
- Public Member Functions inherited from llvm::DiagnosticInfo
 DiagnosticInfo (int Kind, DiagnosticSeverity Severity)
 
virtual ~DiagnosticInfo ()
 
int getKind () const
 
DiagnosticSeverity getSeverity () const
 

Static Public Member Functions

static bool classof (const DiagnosticInfo *DI)
 

Detailed Description

Definition at line 154 of file ReaderWriter.h.

Constructor & Destructor Documentation

BitcodeDiagnosticInfo::BitcodeDiagnosticInfo ( std::error_code  EC,
DiagnosticSeverity  Severity,
const Twine Msg 
)

Definition at line 381 of file BitcodeReader.cpp.

Member Function Documentation

static bool llvm::BitcodeDiagnosticInfo::classof ( const DiagnosticInfo DI)
inlinestatic

Definition at line 164 of file ReaderWriter.h.

References llvm::DK_Bitcode, and llvm::DiagnosticInfo::getKind().

std::error_code llvm::BitcodeDiagnosticInfo::getError ( ) const
inline

Definition at line 162 of file ReaderWriter.h.

void BitcodeDiagnosticInfo::print ( DiagnosticPrinter DP) const
overridevirtual

Print using the given DP a user-friendly message.

This is the default message that will be printed to the user. It is used when the frontend does not directly take advantage of the information contained in fields of the subclasses. The printed message must not end with '.' nor start with a severity keyword.

Implements llvm::DiagnosticInfo.

Definition at line 386 of file BitcodeReader.cpp.


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