|
My Project
|
#include <Diagnostics.h>
Public Member Functions | |
| InFlightDiagnostic ()=default | |
| InFlightDiagnostic (InFlightDiagnostic &&rhs) | |
| ~InFlightDiagnostic () | |
| template<typename Arg > | |
| InFlightDiagnostic & | operator<< (Arg &&arg) & |
| Stream operator for new diagnostic arguments. More... | |
| template<typename Arg > | |
| InFlightDiagnostic && | operator<< (Arg &&arg) && |
| template<typename... Args> | |
| InFlightDiagnostic & | append (Args &&... args) & |
| Append arguments to the diagnostic. More... | |
| template<typename... Args> | |
| InFlightDiagnostic && | append (Args &&... args) && |
| Diagnostic & | attachNote (Optional< Location > noteLoc=llvm::None) |
| Attaches a note to this diagnostic. More... | |
| void | report () |
| Reports the diagnostic to the engine. More... | |
| void | abandon () |
| Abandons this diagnostic so that it will no longer be reported. More... | |
| operator LogicalResult () const | |
This class represents a diagnostic that is inflight and set to be reported. This allows for last minute modifications of the diagnostic before it is emitted by a DiagnosticEngine.
|
default |
|
inline |
|
inline |
| void InFlightDiagnostic::abandon | ( | ) |
Abandons this diagnostic so that it will no longer be reported.
Abandons this diagnostic.
|
inline |
Append arguments to the diagnostic.
|
inline |
|
inline |
Attaches a note to this diagnostic.
| InFlightDiagnostic::operator LogicalResult | ( | ) | const |
Allow an inflight diagnostic to be converted to 'failure', otherwise 'success' if this is an empty diagnostic.
|
inline |
Stream operator for new diagnostic arguments.
|
inline |
| void InFlightDiagnostic::report | ( | ) |
Reports the diagnostic to the engine.
1.8.13