|
LLVM
8.0.1
|
#include "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 160 of file LLLexer.cpp.
Definition at line 29 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Error, and llvm::SourceMgr::GetMessage().
Referenced by llvm::LLParser::getContext(), and setIgnoreColonInIdentifiers().
Definition at line 64 of file LLLexer.h.
Referenced by FunctionNumber().
Definition at line 63 of file LLLexer.h.
Referenced by createGlobalFwdRef(), FunctionNumber(), and parseOptionalLinkageAux().
|
inline |
Definition at line 59 of file LLLexer.h.
Referenced by createGlobalFwdRef(), FunctionNumber(), llvm::LLParser::getContext(), maybeSetDSOLocal(), parseOptionalLinkageAux(), and llvm::LLParser::parseStandaloneConstantValue().
|
inline |
Definition at line 58 of file LLLexer.h.
References llvm::SMLoc::getFromPointer().
Referenced by Error(), FunctionNumber(), llvm::LLParser::getContext(), maybeSetDSOLocal(), parseOptionalLinkageAux(), llvm::LLParser::parseStandaloneConstantValue(), llvm::LLParser::Run(), and Warning().
|
inline |
Definition at line 60 of file LLLexer.h.
Referenced by createGlobalFwdRef(), FunctionNumber(), maybeSetDSOLocal(), and parseOptionalLinkageAux().
|
inline |
Definition at line 61 of file LLLexer.h.
Referenced by parseOptionalLinkageAux().
|
inline |
Definition at line 62 of file LLLexer.h.
Referenced by FunctionNumber(), maybeSetDSOLocal(), and parseOptionalLinkageAux().
|
inline |
Definition at line 53 of file LLLexer.h.
Referenced by createGlobalFwdRef(), FunctionNumber(), llvm::LLParser::getContext(), if(), maybeSetDSOLocal(), parseOptionalLinkageAux(), llvm::LLParser::parseStandaloneConstantValue(), llvm::LLParser::parseTypeAtBeginning(), and llvm::LLParser::Run().
|
inline |
Definition at line 34 of file LLLexer.cpp.
References llvm::SourceMgr::DK_Warning, and llvm::SourceMgr::PrintMessage().
Referenced by Error().
1.8.13