LLVM 20.0.0git
|
#include "llvm/AsmParser/LLLexer.h"
Public Types | |
typedef SMLoc | LocTy |
Public Member Functions | |
LLLexer (StringRef StartBuf, SourceMgr &SM, SMDiagnostic &, LLVMContext &C) | |
lltok::Kind | Lex () |
LocTy | getLoc () const |
lltok::Kind | getKind () const |
const std::string & | getStrVal () const |
Type * | getTyVal () const |
unsigned | getUIntVal () const |
const APSInt & | getAPSIntVal () const |
const APFloat & | getAPFloatVal () const |
void | setIgnoreColonInIdentifiers (bool val) |
bool | ParseError (LocTy ErrorLoc, const Twine &Msg) |
bool | ParseError (const Twine &Msg) |
void | Warning (LocTy WarningLoc, const Twine &Msg) const |
void | Warning (const Twine &Msg) const |
typedef SMLoc llvm::LLLexer::LocTy |
|
explicit |
Definition at line 171 of file LLLexer.cpp.
References llvm::StringRef::begin().
Definition at line 75 of file LLLexer.h.
Referenced by llvm::LLParser::parseMDField().
|
inline |
Definition at line 71 of file LLLexer.h.
Referenced by llvm::LLParser::parseMDField(), and llvm::LLParser::parseStandaloneConstantValue().
|
inline |
Definition at line 70 of file LLLexer.h.
References llvm::SMLoc::getFromPointer().
Referenced by llvm::LLParser::parseDIExpressionBodyAtBeginning(), ParseError(), llvm::LLParser::parseMDField(), llvm::LLParser::parseStandaloneConstantValue(), llvm::LLParser::parseTypeAtBeginning(), llvm::LLParser::Run(), and Warning().
|
inline |
Definition at line 72 of file LLLexer.h.
Referenced by llvm::LLParser::parseMDField().
|
inline |
Definition at line 65 of file LLLexer.h.
Referenced by llvm::LLParser::parseDIExpressionBodyAtBeginning(), llvm::LLParser::parseMDField(), llvm::LLParser::parseStandaloneConstantValue(), llvm::LLParser::parseTypeAtBeginning(), and llvm::LLParser::Run().
Definition at line 88 of file LLLexer.h.
References getLoc(), and ParseError().
Referenced by ParseError().
|
inline |
Definition at line 45 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Warning, and llvm::SourceMgr::PrintMessage().