My Project
Classes | Namespaces | Enumerations | Functions
Diagnostics.h File Reference
#include "mlir/IR/Location.h"
#include "mlir/Support/STLExtras.h"
#include <functional>
Include dependency graph for Diagnostics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mlir::DiagnosticArgument
 A variant type that holds a single argument for a diagnostic. More...
 
class  mlir::Diagnostic
 
class  mlir::InFlightDiagnostic
 
class  mlir::DiagnosticEngine
 
class  mlir::ScopedDiagnosticHandler
 
class  mlir::SourceMgrDiagnosticHandler
 This class is a utility diagnostic handler for use with llvm::SourceMgr. More...
 
class  mlir::SourceMgrDiagnosticVerifierHandler
 
class  mlir::ParallelDiagnosticHandler
 

Namespaces

 llvm
 
 mlir
 
 mlir::detail
 Check if a Callable type can be invoked with the given set of arg types.
 

Enumerations

enum  mlir::DiagnosticSeverity { mlir::DiagnosticSeverity::Note, mlir::DiagnosticSeverity::Warning, mlir::DiagnosticSeverity::Error, mlir::DiagnosticSeverity::Remark }
 Defines the different supported severity of a diagnostic. More...
 

Functions

raw_ostream & mlir::operator<< (raw_ostream &os, const DiagnosticArgument &arg)
 
raw_ostream & mlir::operator<< (raw_ostream &os, const Diagnostic &diag)
 
InFlightDiagnostic mlir::emitError (Location loc)
 Utility method to emit an error message using this location. More...
 
InFlightDiagnostic mlir::emitError (Location loc, const Twine &message)
 
InFlightDiagnostic mlir::emitWarning (Location loc)
 Utility method to emit a warning message using this location. More...
 
InFlightDiagnostic mlir::emitWarning (Location loc, const Twine &message)
 
InFlightDiagnostic mlir::emitRemark (Location loc)
 Utility method to emit a remark message using this location. More...
 
InFlightDiagnostic mlir::emitRemark (Location loc, const Twine &message)
 
template<typename... Args>
LogicalResult mlir::emitOptionalError (Optional< Location > loc, Args &&... args)
 
template<typename... Args>
LogicalResult mlir::emitOptionalWarning (Optional< Location > loc, Args &&... args)
 
template<typename... Args>
LogicalResult mlir::emitOptionalRemark (Optional< Location > loc, Args &&... args)