зеркало из https://github.com/microsoft/clang-1.git
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
5b8c694948
Коммит
ceeb53af1f
|
@ -702,11 +702,6 @@ getLocationOfByte(unsigned ByteNo, const SourceManager &SM,
|
||||||
|
|
||||||
const char *StrData = Buffer.data()+LocInfo.second;
|
const char *StrData = Buffer.data()+LocInfo.second;
|
||||||
|
|
||||||
// Create a langops struct and enable trigraphs. This is sufficient for
|
|
||||||
// relexing tokens.
|
|
||||||
LangOptions LangOpts;
|
|
||||||
LangOpts.Trigraphs = true;
|
|
||||||
|
|
||||||
// Create a lexer starting at the beginning of this token.
|
// Create a lexer starting at the beginning of this token.
|
||||||
Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), Features,
|
Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), Features,
|
||||||
Buffer.begin(), StrData, Buffer.end());
|
Buffer.begin(), StrData, Buffer.end());
|
||||||
|
|
Загрузка…
Ссылка в новой задаче