[llvm] r215944 - Delete unused method.
Rafael Espindola
rafael.espindola at gmail.com
Mon Aug 18 15:20:18 PDT 2014
Author: rafael
Date: Mon Aug 18 17:20:18 2014
New Revision: 215944
URL: http://llvm.org/viewvc/llvm-project?rev=215944&view=rev
Log:
Delete unused method.
Modified:
llvm/trunk/lib/AsmParser/LLLexer.cpp
llvm/trunk/lib/AsmParser/LLLexer.h
Modified: llvm/trunk/lib/AsmParser/LLLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLLexer.cpp?rev=215944&r1=215943&r2=215944&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLLexer.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLLexer.cpp Mon Aug 18 17:20:18 2014
@@ -167,10 +167,6 @@ LLLexer::LLLexer(MemoryBuffer *StartBuf,
CurPtr = CurBuf->getBufferStart();
}
-std::string LLLexer::getFilename() const {
- return CurBuf->getBufferIdentifier();
-}
-
int LLLexer::getNextChar() {
char CurChar = *CurPtr++;
switch (CurChar) {
Modified: llvm/trunk/lib/AsmParser/LLLexer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLLexer.h?rev=215944&r1=215943&r2=215944&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLLexer.h (original)
+++ llvm/trunk/lib/AsmParser/LLLexer.h Mon Aug 18 17:20:18 2014
@@ -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();
More information about the llvm-commits
mailing list