|
LLVM 22.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) |
| std::pair< unsigned, unsigned > | getTokLineColumnPos () |
| Get the line, column position of the start of the current token, zero-indexed. | |
| std::pair< unsigned, unsigned > | getPrevTokEndLineColumnPos () |
| Get the line, column position of the end of the previous token, zero-indexed exclusive. | |
| 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::CallingConv::C.
|
inline |
|
inline |
Definition at line 71 of file LLLexer.h.
References llvm::SMLoc::getFromPointer().
Referenced by ParseError(), and Warning().
Get the line, column position of the end of the previous token, zero-indexed exclusive.
Definition at line 91 of file LLLexer.h.
References llvm::SMLoc::getFromPointer().
|
inline |
Get the line, column position of the start of the current token, zero-indexed.
Definition at line 85 of file LLLexer.h.
References llvm::SMLoc::getFromPointer().
|
inline |
Definition at line 102 of file LLLexer.h.
References getLoc(), and ParseError().
Referenced by ParseError().
Definition at line 98 of file LLLexer.h.
References llvm::Error.
|
inline |
Definition at line 45 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Warning.