14 #ifndef LLVM_LIB_ASMPARSER_LLLEXER_H
15 #define LLVM_LIB_ASMPARSER_LLLEXER_H
50 return CurKind = LexToken();
56 const std::string &
getStrVal()
const {
return StrVal; }
73 void SkipLineComment();
89 uint64_t atoull(
const char *Buffer,
const char *
End);
90 uint64_t HexIntToVal(
const char *Buffer,
const char *
End);
91 void HexToIntPair(
const char *Buffer,
const char *
End, uint64_t Pair[2]);
92 void FP80HexToIntPair(
const char *Buff,
const char *
End, uint64_t Pair[2]);
const APFloat & getAPFloatVal() const
unsigned getUIntVal() const
void Warning(LocTy WarningLoc, const Twine &Msg) 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
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.
This file declares a class to represent arbitrary precision floating point values and provide a varie...
static const unsigned End
This owns the files read by a parser, handles include stacks, and handles diagnostic wrangling...
bool Error(LocTy L, const Twine &Msg) const
const std::string & getStrVal() const
static GCRegistry::Add< ShadowStackGC > C("shadow-stack","Very portable GC for uncooperative code generators")
Base class for user error types.
static SMLoc getFromPointer(const char *Ptr)
lltok::Kind getKind() const
bool Error(const Twine &Msg) const
const APSInt & getAPSIntVal() 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...