LLVM  5.0.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::DiagnosticInfoSampleProfile Class Reference

Diagnostic information for the sample profiler. More...

#include "llvm/IR/DiagnosticInfo.h"

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

Public Member Functions

 DiagnosticInfoSampleProfile (StringRef FileName, unsigned LineNum, const Twine &Msg, DiagnosticSeverity Severity=DS_Error)
 
 DiagnosticInfoSampleProfile (StringRef FileName, const Twine &Msg, DiagnosticSeverity Severity=DS_Error)
 
 DiagnosticInfoSampleProfile (const Twine &Msg, DiagnosticSeverity Severity=DS_Error)
 
void print (DiagnosticPrinter &DP) const override
 
StringRef getFileName () const
 
unsigned getLineNum () const
 
const Twine & getMsg () const
 
- Public Member Functions inherited from llvm::DiagnosticInfo
 DiagnosticInfo (int Kind, DiagnosticSeverity Severity)
 
virtual ~DiagnosticInfo ()=default
 
int getKind () const
 
DiagnosticSeverity getSeverity () const
 

Static Public Member Functions

static bool classof (const DiagnosticInfo *DI)
 

Detailed Description

Diagnostic information for the sample profiler.

Definition at line 285 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

llvm::DiagnosticInfoSampleProfile::DiagnosticInfoSampleProfile ( StringRef  FileName,
unsigned  LineNum,
const Twine &  Msg,
DiagnosticSeverity  Severity = DS_Error 
)
inline

Definition at line 287 of file DiagnosticInfo.h.

llvm::DiagnosticInfoSampleProfile::DiagnosticInfoSampleProfile ( StringRef  FileName,
const Twine &  Msg,
DiagnosticSeverity  Severity = DS_Error 
)
inline

Definition at line 292 of file DiagnosticInfo.h.

llvm::DiagnosticInfoSampleProfile::DiagnosticInfoSampleProfile ( const Twine &  Msg,
DiagnosticSeverity  Severity = DS_Error 
)
inline

Definition at line 296 of file DiagnosticInfo.h.

Member Function Documentation

static bool llvm::DiagnosticInfoSampleProfile::classof ( const DiagnosticInfo *  DI)
inlinestatic

Definition at line 303 of file DiagnosticInfo.h.

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

StringRef llvm::DiagnosticInfoSampleProfile::getFileName ( ) const
inline

Definition at line 307 of file DiagnosticInfo.h.

Referenced by print().

unsigned llvm::DiagnosticInfoSampleProfile::getLineNum ( ) const
inline

Definition at line 308 of file DiagnosticInfo.h.

Referenced by print().

const Twine& llvm::DiagnosticInfoSampleProfile::getMsg ( ) const
inline

Definition at line 309 of file DiagnosticInfo.h.

Referenced by print().

void DiagnosticInfoSampleProfile::print ( DiagnosticPrinter &  DP) const
overridevirtual

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