38 for (
unsigned i = 1; i < Loc.
size(); ++i)
40 "instantiated from multiclass");
const T & front() const
front - Get the first element.
This class represents lattice values for constants.
static raw_ostream & error()
Convenience method for printing "error: " to stderr.
static raw_ostream & warning()
Convenience method for printing "warning: " to stderr.
void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind, const Twine &Msg, ArrayRef< SMRange > Ranges=None, ArrayRef< SMFixIt > FixIts=None, bool ShowColors=true) const
Emit a message about the specified location with the specified string.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
static void PrintMessage(ArrayRef< SMLoc > Loc, SourceMgr::DiagKind Kind, const Twine &Msg)
size_t size() const
size - Get the array size.
void RunInterruptHandlers()
This function runs all the registered interrupt handlers, including the removal of files registered b...
void PrintWarning(ArrayRef< SMLoc > WarningLoc, const Twine &Msg)
This owns the files read by a parser, handles include stacks, and handles diagnostic wrangling...
LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const Twine &Msg)
static SMLoc getFromPointer(const char *Ptr)
Represents a location in source code.
bool empty() const
empty - Check if the array is empty.
void PrintNote(ArrayRef< SMLoc > NoteLoc, const Twine &Msg)
void PrintError(ArrayRef< SMLoc > ErrorLoc, const Twine &Msg)