Fn is the function where the diagnostic is being emitted. Loc is the location information to use in the diagnostic. If line table information is available, the diagnostic will include the source code location. Msg is the message to show. Note that this class does not copy this message, so this reference must be valid for the whole life time of the diagnostic.
Synopsis
Declared in <llvm/IR/DiagnosticInfo.h>
DiagnosticInfoUnsupported(
Function const& Fn,
Twine const& Msg,
DiagnosticLocation const& Loc = DiagnosticLocation(),
DiagnosticSeverity Severity = DS_Error);
Parameters
Name |
Description |
Fn |
The object to copy construct from |
Msg |
Twine ‐ A lightweight data structure for efficiently representing the concatenation of temporary values as strings. |
Severity |
Defines the different supported severity of a diagnostic. |
Created with MrDocs