LLVM: llvm::DiagnosticInfoInlineAsm Class Reference (original) (raw)

Diagnostic information for inline asm reporting. More...

#include "[llvm/IR/DiagnosticInfo.h](DiagnosticInfo%5F8h%5Fsource.html)"

Public Member Functions
DiagnosticInfoInlineAsm (uint64_t LocCookie, const Twine &MsgStr LLVM_LIFETIME_BOUND, DiagnosticSeverity Severity=DS_Error)
LocCookie if non-zero gives the line number for this report.
DiagnosticInfoInlineAsm (const Instruction &I, const Twine &MsgStr LLVM_LIFETIME_BOUND, DiagnosticSeverity Severity=DS_Error)
Instr gives the original instruction that triggered the diagnostic.
uint64_t getLocCookie () const
const Twine & getMsgStr () const
const Instruction * getInstruction () const
void print (DiagnosticPrinter &DP) const override
Public Member Functions inherited from llvm::DiagnosticInfo
DiagnosticInfo (int Kind, DiagnosticSeverity Severity)
virtual ~DiagnosticInfo ()=default
int getKind () const
DiagnosticSeverity getSeverity () const

Diagnostic information for inline asm reporting.

This is basically a message and an optional location.

Definition at line 172 of file DiagnosticInfo.h.

LocCookie if non-zero gives the line number for this report.

MsgStr gives the message. This class does not copy MsgStr, therefore the reference must be valid for the whole life time of the Diagnostic.

References llvm::DS_Error, and LLVM_LIFETIME_BOUND.

DiagnosticInfoInlineAsm() [2/2]

Instr gives the original instruction that triggered the diagnostic.

MsgStr gives the message. This class does not copy MsgStr, therefore the reference must be valid for the whole life time of the Diagnostic. Same for I.

References llvm::DS_Error, I, and LLVM_LIFETIME_BOUND.

classof()

getInstruction()

const Instruction * llvm::DiagnosticInfoInlineAsm::getInstruction ( ) const inline

getLocCookie()

uint64_t llvm::DiagnosticInfoInlineAsm::getLocCookie ( ) const inline

getMsgStr()

const Twine & llvm::DiagnosticInfoInlineAsm::getMsgStr ( ) const inline

print()


The documentation for this class was generated from the following files: