|
| | Diagnostic (Location loc, DiagnosticSeverity severity) |
| |
| | Diagnostic (Diagnostic &&)=default |
| |
| Diagnostic & | operator= (Diagnostic &&)=default |
| |
| DiagnosticSeverity | getSeverity () const |
| | Returns the severity of this diagnostic. More...
|
| |
| Location | getLocation () const |
| | Returns the source location for this diagnostic. More...
|
| |
| MutableArrayRef< DiagnosticArgument > | getArguments () |
| | Returns the current list of diagnostic arguments. More...
|
| |
| ArrayRef< DiagnosticArgument > | getArguments () const |
| |
| template<typename Arg > |
| std::enable_if<!std::is_convertible< Arg, StringRef >::value, Diagnostic & >::type | operator<< (Arg &&val) |
| | Stream operator for inserting new diagnostic arguments. More...
|
| |
| Diagnostic & | operator<< (const char *val) |
| | Stream in a string literal. More...
|
| |
| Diagnostic & | operator<< (char val) |
| | Stream in a Twine argument. More...
|
| |
| Diagnostic & | operator<< (const Twine &val) |
| |
| Diagnostic & | operator<< (Twine &&val) |
| |
| Diagnostic & | operator<< (Identifier val) |
| | Stream in an Identifier. More...
|
| |
| Diagnostic & | operator<< (OperationName val) |
| | Stream in an OperationName. More...
|
| |
| template<typename T > |
| Diagnostic & | operator<< (iterator_range< T > range) |
| | Stream in a range. More...
|
| |
| template<typename T > |
| Diagnostic & | operator<< (ArrayRef< T > range) |
| |
| template<typename T , template< typename > class Container> |
| Diagnostic & | appendRange (const Container< T > &c, const char *delim=", ") |
| |
| template<typename Arg1 , typename Arg2 , typename... Args> |
| Diagnostic & | append (Arg1 &&arg1, Arg2 &&arg2, Args &&... args) |
| | Append arguments to the diagnostic. More...
|
| |
| template<typename Arg > |
| Diagnostic & | append (Arg &&arg) |
| | Append one argument to the diagnostic. More...
|
| |
| void | print (raw_ostream &os) const |
| | Outputs this diagnostic to a stream. More...
|
| |
| std::string | str () const |
| | Converts the diagnostic to a string. More...
|
| |
| Diagnostic & | attachNote (Optional< Location > noteLoc=llvm::None) |
| |
| iterator_range< note_iterator > | getNotes () |
| | Returns the notes held by this diagnostic. More...
|
| |
| iterator_range< const_note_iterator > | getNotes () const |
| |
| | operator LogicalResult () const |
| | Allow a diagnostic to be converted to 'failure'. More...
|
| |
This class contains all of the information necessary to report a diagnostic to the DiagnosticEngine. It should generally not be constructed directly, and instead used transitively via InFlightDiagnostic.