mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 20:23:39 +08:00
Delete unused method.
llvm-svn: 215944
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user