LLVM API Documentation
#include <LLLexer.h>
Public Types | |
typedef SMLoc | LocTy |
Public Member Functions | |
LLLexer (MemoryBuffer *StartBuf, SourceMgr &SM, SMDiagnostic &, LLVMContext &C) | |
~LLLexer () | |
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 |
bool | Error (LocTy L, const Twine &Msg) const |
bool | Error (const Twine &Msg) const |
std::string | getFilename () const |
typedef SMLoc llvm::LLLexer::LocTy |
|
explicit |
Definition at line 160 of file LLLexer.cpp.
References llvm::MemoryBuffer::getBufferStart().
Definition at line 32 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Error, and llvm::SourceMgr::GetMessage().
|
inline |
std::string LLLexer::getFilename | ( | ) | const |
Definition at line 166 of file LLLexer.cpp.
References llvm::MemoryBuffer::getBufferIdentifier().
|
inline |
|
inline |
Definition at line 55 of file LLLexer.h.
References llvm::SMLoc::getFromPointer().
Referenced by Error().
|
inline |
|
inline |
Definition at line 50 of file LLLexer.h.
Referenced by if(), and llvm::LLParser::Run().