LLVM API Documentation
Diagnostic information for the sample profiler. More...
#include <DiagnosticInfo.h>
Public Member Functions | |
DiagnosticInfoSampleProfile (const char *FileName, unsigned LineNum, const Twine &Msg, DiagnosticSeverity Severity=DS_Error) | |
DiagnosticInfoSampleProfile (const char *FileName, const Twine &Msg, DiagnosticSeverity Severity=DS_Error) | |
DiagnosticInfoSampleProfile (const Twine &Msg, DiagnosticSeverity Severity=DS_Error) | |
void | print (DiagnosticPrinter &DP) const override |
const char * | getFileName () const |
unsigned | getLineNum () const |
const Twine & | getMsg () const |
Static Public Member Functions | |
static bool | classof (const DiagnosticInfo *DI) |
Diagnostic information for the sample profiler.
Definition at line 204 of file DiagnosticInfo.h.
llvm::DiagnosticInfoSampleProfile::DiagnosticInfoSampleProfile | ( | const char * | FileName, |
unsigned | LineNum, | ||
const Twine & | Msg, | ||
DiagnosticSeverity | Severity = DS_Error |
||
) | [inline] |
Definition at line 206 of file DiagnosticInfo.h.
llvm::DiagnosticInfoSampleProfile::DiagnosticInfoSampleProfile | ( | const char * | FileName, |
const Twine & | Msg, | ||
DiagnosticSeverity | Severity = DS_Error |
||
) | [inline] |
Definition at line 211 of file DiagnosticInfo.h.
llvm::DiagnosticInfoSampleProfile::DiagnosticInfoSampleProfile | ( | const Twine & | Msg, |
DiagnosticSeverity | Severity = DS_Error |
||
) | [inline] |
Definition at line 215 of file DiagnosticInfo.h.
static bool llvm::DiagnosticInfoSampleProfile::classof | ( | const DiagnosticInfo * | DI | ) | [inline, static] |
Definition at line 223 of file DiagnosticInfo.h.
References llvm::DK_SampleProfile, and llvm::DiagnosticInfo::getKind().
const char* llvm::DiagnosticInfoSampleProfile::getFileName | ( | ) | const [inline] |
Definition at line 227 of file DiagnosticInfo.h.
Referenced by print().
unsigned llvm::DiagnosticInfoSampleProfile::getLineNum | ( | ) | const [inline] |
Definition at line 228 of file DiagnosticInfo.h.
Referenced by print().
const Twine& llvm::DiagnosticInfoSampleProfile::getMsg | ( | ) | const [inline] |
Definition at line 229 of file DiagnosticInfo.h.
Referenced by print().
void DiagnosticInfoSampleProfile::print | ( | DiagnosticPrinter & | DP | ) | const [override, virtual] |
Implements llvm::DiagnosticInfo.
Definition at line 122 of file DiagnosticInfo.cpp.
References getFileName(), getLineNum(), and getMsg().