|
LLVM
3.7.0
|
#include <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 |
| bool | Error (LocTy L, 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 166 of file LLLexer.cpp.
References llvm::StringRef::begin().
Definition at line 32 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Error, and llvm::SourceMgr::GetMessage().
|
inline |
|
inline |
Definition at line 54 of file LLLexer.h.
References llvm::SMLoc::getFromPointer().
|
inline |
|
inline |
Definition at line 49 of file LLLexer.h.
Referenced by if(), and llvm::LLParser::Run().
Definition at line 37 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Warning, and llvm::SourceMgr::PrintMessage().
1.8.6