LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::DiagnosticInfoIgnoringInvalidDebugMetadata Class Reference

Diagnostic information for stripping invalid debug metadata. More...

#include "llvm/IR/DiagnosticInfo.h"

Inheritance diagram for llvm::DiagnosticInfoIgnoringInvalidDebugMetadata:
Inheritance graph
[legend]

Public Member Functions

 DiagnosticInfoIgnoringInvalidDebugMetadata (const Module &M, DiagnosticSeverity Severity=DS_Warning)
 The module that is concerned by this debug metadata version diagnostic.
 
const ModulegetModule () 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)
 

Detailed Description

Diagnostic information for stripping invalid debug metadata.

Definition at line 213 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

◆ DiagnosticInfoIgnoringInvalidDebugMetadata()

llvm::DiagnosticInfoIgnoringInvalidDebugMetadata::DiagnosticInfoIgnoringInvalidDebugMetadata ( const Module M,
DiagnosticSeverity  Severity = DS_Warning 
)
inline

The module that is concerned by this debug metadata version diagnostic.

Definition at line 220 of file DiagnosticInfo.h.

Member Function Documentation

◆ classof()

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

◆ getModule()

const Module & llvm::DiagnosticInfoIgnoringInvalidDebugMetadata::getModule ( ) const
inline

Definition at line 224 of file DiagnosticInfo.h.

Referenced by print().

◆ print()

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

Implements llvm::DiagnosticInfo.

Definition at line 87 of file DiagnosticInfo.cpp.

References getModule(), and llvm::Module::getModuleIdentifier().


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