class DiagnosticInfoInlineAsm
Declaration
class DiagnosticInfoInlineAsm : public DiagnosticInfo { /* full declaration omitted */ };
Description
Diagnostic information for inline asm reporting. This is basically a message and an optional location.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:128
Inherits from: DiagnosticInfo
Method Overview
- public DiagnosticInfoInlineAsm(const llvm::Twine & MsgStr, llvm::DiagnosticSeverity Severity = DS_Error)
- public DiagnosticInfoInlineAsm(unsigned int LocCookie, const llvm::Twine & MsgStr, llvm::DiagnosticSeverity Severity = DS_Error)
- public DiagnosticInfoInlineAsm(const llvm::Instruction & I, const llvm::Twine & MsgStr, llvm::DiagnosticSeverity Severity = DS_Error)
- public static bool classof(const llvm::DiagnosticInfo * DI)
- public const llvm::Instruction * getInstruction() const
- public unsigned int getLocCookie() const
- public const llvm::Twine & getMsgStr() const
- public void print(llvm::DiagnosticPrinter & DP) const
Inherited from DiagnosticInfo:
Methods
¶DiagnosticInfoInlineAsm(
const llvm::Twine& MsgStr,
llvm::DiagnosticSeverity Severity = DS_Error)
DiagnosticInfoInlineAsm(
const llvm::Twine& MsgStr,
llvm::DiagnosticSeverity Severity = DS_Error)
Description
\p MsgStr is the message to be reported to the frontend. This class does not copy \p MsgStr, therefore the reference must be valid for the whole life time of the Diagnostic.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:141
Parameters
- const llvm::Twine& MsgStr
- llvm::DiagnosticSeverity Severity = DS_Error
¶DiagnosticInfoInlineAsm(
unsigned int LocCookie,
const llvm::Twine& MsgStr,
llvm::DiagnosticSeverity Severity = DS_Error)
DiagnosticInfoInlineAsm(
unsigned int LocCookie,
const llvm::Twine& MsgStr,
llvm::DiagnosticSeverity Severity = DS_Error)
Description
\p LocCookie if non-zero gives the line number for this report.\p MsgStr gives the message. This class does not copy \p MsgStr, therefore the reference must be valid for the whole life time of the Diagnostic.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:149
Parameters
- unsigned int LocCookie
- const llvm::Twine& MsgStr
- llvm::DiagnosticSeverity Severity = DS_Error
¶DiagnosticInfoInlineAsm(
const llvm::Instruction& I,
const llvm::Twine& MsgStr,
llvm::DiagnosticSeverity Severity = DS_Error)
DiagnosticInfoInlineAsm(
const llvm::Instruction& I,
const llvm::Twine& MsgStr,
llvm::DiagnosticSeverity Severity = DS_Error)
Description
\p Instr gives the original instruction that triggered the diagnostic.\p MsgStr gives the message. This class does not copy \p MsgStr, therefore the reference must be valid for the whole life time of the Diagnostic. Same for \p I.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:159
Parameters
- const llvm::Instruction& I
- const llvm::Twine& MsgStr
- llvm::DiagnosticSeverity Severity = DS_Error
¶static bool classof(
const llvm::DiagnosticInfo* DI)
static bool classof(
const llvm::DiagnosticInfo* DI)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:169
Parameters
- const llvm::DiagnosticInfo* DI
¶const llvm::Instruction* getInstruction() const
const llvm::Instruction* getInstruction() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:164
¶unsigned int getLocCookie() const
unsigned int getLocCookie() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:162
¶const llvm::Twine& getMsgStr() const
const llvm::Twine& getMsgStr() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:163
¶void print(llvm::DiagnosticPrinter& DP) const
void print(llvm::DiagnosticPrinter& DP) const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:167