diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/AsmParser/LLLexer.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/AsmParser/LLLexer.h | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp index 04dcd2b3152..4a03440caaa 100644 --- a/llvm/lib/AsmParser/LLLexer.cpp +++ b/llvm/lib/AsmParser/LLLexer.cpp @@ -167,10 +167,6 @@ LLLexer::LLLexer(MemoryBuffer *StartBuf, SourceMgr &sm, SMDiagnostic &Err, CurPtr = CurBuf->getBufferStart(); } -std::string LLLexer::getFilename() const { - return CurBuf->getBufferIdentifier(); -} - int LLLexer::getNextChar() { char CurChar = *CurPtr++; switch (CurChar) { diff --git a/llvm/lib/AsmParser/LLLexer.h b/llvm/lib/AsmParser/LLLexer.h index cdb726908cd..683939fe62d 100644 --- a/llvm/lib/AsmParser/LLLexer.h +++ b/llvm/lib/AsmParser/LLLexer.h @@ -67,8 +67,6 @@ namespace llvm { void Warning(LocTy WarningLoc, const Twine &Msg) const; void Warning(const Twine &Msg) const { return Warning(getLoc(), Msg); } - std::string getFilename() const; - private: lltok::Kind LexToken(); |