LLVM: llvm::DiagnosticInfoGeneric Class Reference (original) (raw)
#include "[llvm/IR/DiagnosticInfo.h](DiagnosticInfo%5F8h%5Fsource.html)"
Inheritance diagram for llvm::DiagnosticInfoGeneric:
| Public Member Functions | |
|---|---|
| DiagnosticInfoGeneric (const Twine &MsgStr LLVM_LIFETIME_BOUND, DiagnosticSeverity Severity=DS_Error) | |
| MsgStr is the message to be reported to the frontend. | |
| DiagnosticInfoGeneric (const Instruction *I, const Twine &ErrMsg LLVM_LIFETIME_BOUND, DiagnosticSeverity Severity=DS_Error) | |
| const Twine & | getMsgStr () const |
| const Instruction * | getInstruction () 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 |
Detailed Description
Definition at line 142 of file DiagnosticInfo.h.
Constructor & Destructor Documentation
◆ DiagnosticInfoGeneric() [2/2]
Member Function Documentation
◆ classof()
◆ getInstruction()
| const Instruction * llvm::DiagnosticInfoGeneric::getInstruction ( ) const | inline |
|---|
◆ getMsgStr()
| const Twine & llvm::DiagnosticInfoGeneric::getMsgStr ( ) const | inline |
|---|
◆ print()
The documentation for this class was generated from the following files:
- include/llvm/IR/DiagnosticInfo.h
- lib/IR/DiagnosticInfo.cpp