From 285133714f0d995e0e14a77e23a0abe5dfc32d17 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 18 Aug 2014 22:20:18 +0000 Subject: [PATCH] Delete unused method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215944 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/LLLexer.cpp | 4 ---- lib/AsmParser/LLLexer.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp index 04dcd2b3152..4a03440caaa 100644 --- a/lib/AsmParser/LLLexer.cpp +++ b/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/lib/AsmParser/LLLexer.h b/lib/AsmParser/LLLexer.h index cdb726908cd..683939fe62d 100644 --- a/lib/AsmParser/LLLexer.h +++ b/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();