LLVM 20.0.0git
|
Diagnostic information for stripping invalid debug metadata. More...
#include "llvm/IR/DiagnosticInfo.h"
Public Member Functions | |
DiagnosticInfoIgnoringInvalidDebugMetadata (const Module &M, DiagnosticSeverity Severity=DS_Warning) | |
The module that is concerned by this debug metadata version diagnostic. | |
const Module & | getModule () const |
void | print (DiagnosticPrinter &DP) const override |
Public Member Functions inherited from llvm::DiagnosticInfo | |
DiagnosticInfo (int Kind, DiagnosticSeverity Severity) | |
virtual | ~DiagnosticInfo ()=default |
int | getKind () const |
DiagnosticSeverity | getSeverity () const |
virtual void | print (DiagnosticPrinter &DP) const =0 |
Print using the given DP a user-friendly message. | |
Static Public Member Functions | |
static bool | classof (const DiagnosticInfo *DI) |
Diagnostic information for stripping invalid debug metadata.
Definition at line 235 of file DiagnosticInfo.h.
|
inline |
The
module that is concerned by this debug metadata version diagnostic.
Definition at line 242 of file DiagnosticInfo.h.
|
inlinestatic |
Definition at line 251 of file DiagnosticInfo.h.
References llvm::DK_DebugMetadataInvalid, and llvm::DiagnosticInfo::getKind().
Definition at line 246 of file DiagnosticInfo.h.
Referenced by print().
|
overridevirtual |
Implements llvm::DiagnosticInfo.
Definition at line 119 of file DiagnosticInfo.cpp.
References getModule(), and llvm::Module::getModuleIdentifier().