LLVM 22.0.0git
llvm::DiagnosticInfoPGOProfile Class Reference

Diagnostic information for the PGO profiler. More...

#include "llvm/IR/DiagnosticInfo.h"

Inheritance diagram for llvm::DiagnosticInfoPGOProfile:
[legend]

Public Member Functions

 DiagnosticInfoPGOProfile (const char *FileName, const Twine &Msg LLVM_LIFETIME_BOUND, DiagnosticSeverity Severity=DS_Error)
void print (DiagnosticPrinter &DP) const override
const chargetFileName () 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 304 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

◆ DiagnosticInfoPGOProfile()

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

Member Function Documentation

◆ classof()

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

◆ getFileName()

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

Definition at line 318 of file DiagnosticInfo.h.

Referenced by print().

◆ getMsg()

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

Definition at line 319 of file DiagnosticInfo.h.

Referenced by print().

◆ print()

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

Implements llvm::DiagnosticInfo.

Definition at line 139 of file DiagnosticInfo.cpp.

References getFileName(), and getMsg().


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