LLVM  4.0.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::DiagnosticInfoPGOProfile Class Reference

Diagnostic information for the PGO profiler. More...

#include <DiagnosticInfo.h>

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

Public Member Functions

 DiagnosticInfoPGOProfile (const char *FileName, const Twine &Msg, DiagnosticSeverity Severity=DS_Error)
 
void print (DiagnosticPrinter &DP) const override
 
const char * getFileName () const
 
const TwinegetMsg () 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 PGO profiler.

Definition at line 321 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

llvm::DiagnosticInfoPGOProfile::DiagnosticInfoPGOProfile ( const char *  FileName,
const Twine Msg,
DiagnosticSeverity  Severity = DS_Error 
)
inline

Definition at line 323 of file DiagnosticInfo.h.

Member Function Documentation

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

Definition at line 330 of file DiagnosticInfo.h.

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

const char* llvm::DiagnosticInfoPGOProfile::getFileName ( ) const
inline

Definition at line 334 of file DiagnosticInfo.h.

Referenced by print().

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

Definition at line 335 of file DiagnosticInfo.h.

Referenced by print().

void DiagnosticInfoPGOProfile::print ( DiagnosticPrinter DP) const
overridevirtual
See Also
DiagnosticInfo::print.

Implements llvm::DiagnosticInfo.

Definition at line 145 of file DiagnosticInfo.cpp.

References getFileName(), and getMsg().


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