Skip to content

Commit

Permalink
Delete unused method.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215944 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed Aug 18, 2014
1 parent 0acd421 commit 2851337
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions lib/AsmParser/LLLexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 0 additions & 2 deletions lib/AsmParser/LLLexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 2851337

Please sign in to comment.