LLVM: llvm::lto::LTOLLVMDiagnosticHandler Struct Reference (original) (raw)
#include "[llvm/LTO/Config.h](Config%5F8h%5Fsource.html)"
Inheritance diagram for llvm::lto::LTOLLVMDiagnosticHandler:
| Public Member Functions | |
|---|---|
| LTOLLVMDiagnosticHandler (DiagnosticHandlerFunction *DiagHandlerFn) | |
| bool | handleDiagnostics (const DiagnosticInfo &DI) override |
| Override handleDiagnostics to provide custom implementation. | |
| Public Member Functions inherited from llvm::DiagnosticHandler | |
| DiagnosticHandler (void *DiagContext=nullptr) | |
| virtual | ~DiagnosticHandler ()=default |
| virtual bool | isAnalysisRemarkEnabled (StringRef PassName) const |
| Return true if analysis remarks are enabled, override to provide different implementation. | |
| virtual bool | isMissedOptRemarkEnabled (StringRef PassName) const |
| Return true if missed optimization remarks are enabled, override to provide different implementation. | |
| virtual bool | isPassedOptRemarkEnabled (StringRef PassName) const |
| Return true if passed optimization remarks are enabled, override to provide different implementation. | |
| bool | isAnyRemarkEnabled (StringRef PassName) const |
| Return true if any type of remarks are enabled for this pass. | |
| virtual bool | isAnyRemarkEnabled () const |
| Return true if any type of remarks are enabled for any pass. |
| Public Attributes | |
|---|---|
| DiagnosticHandlerFunction * | Fn |
| Public Attributes inherited from llvm::DiagnosticHandler | |
| void * | DiagnosticContext = nullptr |
| bool | HasErrors = false |
| DiagnosticHandlerTy | DiagHandlerCallback = nullptr |
| DiagHandlerCallback is settable from the C API and base implementation of DiagnosticHandler will call it from handleDiagnostics(). |
Detailed Description
Definition at line 291 of file Config.h.
Constructor & Destructor Documentation
Member Function Documentation
◆ handleDiagnostics()
Override handleDiagnostics to provide custom implementation.
Return true if it handles diagnostics reporting properly otherwise return false to make LLVMContext::diagnose() to print the message with a prefix based on the severity.
Reimplemented from llvm::DiagnosticHandler.
Definition at line 295 of file Config.h.
Member Data Documentation
◆ Fn
The documentation for this struct was generated from the following file:
- include/llvm/LTO/Config.h