Diagnostic information for MisExpect analysis.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

class DiagnosticInfoMisExpect
    : public DiagnosticInfoWithLocationBase

Base Classes

Name

Description

DiagnosticInfoWithLocationBase

Common features for diagnostics with an associated location.

Member Functions

Name

Description

DiagnosticInfoMisExpect [constructor]

Construct a MisExpect diagnostic for instruction Inst.

getAbsolutePath

Return the absolute path to the file.

getFunction

Return the function where this diagnostic is triggered.

getKind

Return the kind of this diagnostic.

getLocation

getLocation overloads

getLocationStr

Return the location as a "file:line:col" string.

getMsg

Return the diagnostic message.

getSeverity

Return the severity of this diagnostic.

isLocationAvailable

Return true if location information is available for this diagnostic.

print [virtual]

Print this diagnostic using DP.

Static Member Functions

Name

Description

classof

Return true if DI is a DiagnosticInfoMisExpect.

Non-Member Functions

Name

Description

wrap

Convert a DiagnosticInfo pointer to an opaque LLVMDiagnosticInfoRef.

Created with MrDocs