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 | Error (LocTy ErrorLoc, const Twine &Msg) const |
bool | Error (const Twine &Msg) const |
void | Warning (LocTy WarningLoc, const Twine &Msg) const |
void | Warning (const Twine &Msg) const |
typedef SMLoc llvm::LLLexer::LocTy |
|
explicit |
Definition at line 159 of file LLLexer.cpp.
References llvm::StringRef::begin().
Definition at line 28 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Error, and llvm::SourceMgr::GetMessage().
Definition at line 62 of file LLLexer.h.
Referenced by llvm::LLParser::parseMDField().
|
inline |
Definition at line 58 of file LLLexer.h.
Referenced by llvm::LLParser::parseMDField(), and llvm::LLParser::parseStandaloneConstantValue().
|
inline |
Definition at line 57 of file LLLexer.h.
References llvm::SMLoc::getFromPointer().
Referenced by Error(), llvm::LLParser::parseDIExpressionBodyAtBeginning(), llvm::LLParser::parseMDField(), llvm::LLParser::parseStandaloneConstantValue(), llvm::LLParser::parseTypeAtBeginning(), llvm::LLParser::Run(), and Warning().
|
inline |
Definition at line 59 of file LLLexer.h.
Referenced by llvm::LLParser::parseMDField().
|
inline |
Definition at line 52 of file LLLexer.h.
Referenced by llvm::LLParser::parseDIExpressionBodyAtBeginning(), llvm::LLParser::parseMDField(), llvm::LLParser::parseStandaloneConstantValue(), llvm::LLParser::parseTypeAtBeginning(), and llvm::LLParser::Run().
|
inline |
Definition at line 33 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Warning, and llvm::SourceMgr::PrintMessage().