summaryrefslogtreecommitdiffstats
path: root/lib/Lex
diff options
context:
space:
mode:
authorCameron Desrochers <cameron@moodycamel.com>2017-09-20 19:37:37 +0000
committerCameron Desrochers <cameron@moodycamel.com>2017-09-20 19:37:37 +0000
commitabb16417bac8d1da0d6698741dd07dcc7912a320 (patch)
tree2a0a3216f1a5379f888012408311382224560a9e /lib/Lex
parentaacb7039877a344e6063dc8e1214f82ef3b69fca (diff)
Fixed unused variable warning introduced in r313796 causing build failure
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex')
-rw-r--r--lib/Lex/Lexer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp
index b7f97a583d..9885ab9d3e 100644
--- a/lib/Lex/Lexer.cpp
+++ b/lib/Lex/Lexer.cpp
@@ -564,9 +564,6 @@ PreambleBounds Lexer::ComputePreamble(StringRef Buffer,
Buffer.end());
TheLexer.SetCommentRetentionState(true);
- // StartLoc will differ from FileLoc if there is a BOM that was skipped.
- SourceLocation StartLoc = TheLexer.getSourceLocation();
-
bool InPreprocessorDirective = false;
Token TheTok;
SourceLocation ActiveCommentLoc;