14 #ifndef LLVM_LIB_ASMPARSER_LLLEXER_H 15 #define LLVM_LIB_ASMPARSER_LLLEXER_H 47 bool IgnoreColonInIdentifiers;
54 return CurKind = LexToken();
60 const std::string &
getStrVal()
const {
return StrVal; }
67 IgnoreColonInIdentifiers = val;
70 bool Error(LocTy ErrorLoc,
const Twine &Msg)
const;
80 void SkipLineComment();
98 uint64_t atoull(
const char *Buffer,
const char *End);
99 uint64_t HexIntToVal(
const char *Buffer,
const char *End);
100 void HexToIntPair(
const char *Buffer,
const char *End, uint64_t Pair[2]);
101 void FP80HexToIntPair(
const char *Buffer,
const char *End, uint64_t Pair[2]);
Type
MessagePack types as defined in the standard, with the exception of Integer being divided into a sign...
This class represents lattice values for constants.
void Warning(LocTy WarningLoc, const Twine &Msg) const
void setIgnoreColonInIdentifiers(bool val)
const APFloat & getAPFloatVal() const
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
LLLexer(StringRef StartBuf, SourceMgr &SM, SMDiagnostic &, LLVMContext &C)
void Warning(const Twine &Msg) const
unsigned getUIntVal() const
bool Error(const Twine &Msg) const
The instances of the Type class are immutable: once they are created, they are never changed...
This is an important class for using LLVM in a threaded context.
const APSInt & getAPSIntVal() const
This file declares a class to represent arbitrary precision floating point values and provide a varie...
This owns the files read by a parser, handles include stacks, and handles diagnostic wrangling...
lltok::Kind getKind() const
Base class for user error types.
static SMLoc getFromPointer(const char *Ptr)
const std::string & getStrVal() const
bool Error(LocTy ErrorLoc, const Twine &Msg) const
StringRef - Represent a constant reference to a string, i.e.
Represents a location in source code.
Instances of this class encapsulate one diagnostic report, allowing printing to a raw_ostream as a ca...