Construct an unsupported‐feature diagnostic for function Fn.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

DiagnosticInfoUnsupported(
    Function const& Fn,
    Twine const& Msg,
    DiagnosticLocation const& Loc = DiagnosticLocation(),
    DiagnosticSeverity Severity = DS_Error);

Description

Note that this class does not copy this message, so this reference must be valid for the whole life time of the diagnostic.

Parameters

Name

Description

Fn

Function where the diagnostic is being emitted

Msg

Message to show

Loc

Location information to use in the diagnostic. If line table information is available, the diagnostic will include the source code location.

Severity

Severity of this diagnostic

Created with MrDocs