LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DiagnosticInfoSampleProfile Class Reference

Diagnostic information for the sample profiler. More...

#include <DiagnosticInfo.h>

Inheritance diagram for llvm::DiagnosticInfoSampleProfile:
Inheritance graph
[legend]
Collaboration diagram for llvm::DiagnosticInfoSampleProfile:
Collaboration graph
[legend]

List of all members.

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 TwinegetMsg () const

Static Public Member Functions

static bool classof (const DiagnosticInfo *DI)

Detailed Description

Diagnostic information for the sample profiler.

Definition at line 204 of file DiagnosticInfo.h.


Constructor & Destructor Documentation

llvm::DiagnosticInfoSampleProfile::DiagnosticInfoSampleProfile ( const char *  FileName,
unsigned  LineNum,
const Twine Msg,
DiagnosticSeverity  Severity = DS_Error 
) [inline]

Definition at line 206 of file DiagnosticInfo.h.

Definition at line 211 of file DiagnosticInfo.h.

Definition at line 215 of file DiagnosticInfo.h.


Member Function Documentation

Definition at line 223 of file DiagnosticInfo.h.

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

Definition at line 227 of file DiagnosticInfo.h.

Referenced by print().

Definition at line 228 of file DiagnosticInfo.h.

Referenced by print().

Definition at line 229 of file DiagnosticInfo.h.

Referenced by print().

void DiagnosticInfoSampleProfile::print ( DiagnosticPrinter DP) const [override, virtual]
See also:
DiagnosticInfo::print.

Implements llvm::DiagnosticInfo.

Definition at line 122 of file DiagnosticInfo.cpp.

References getFileName(), getLineNum(), and getMsg().


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