aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Lexer.cpp
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
commit531aec2e9033c7c2035bebcbbac9a407a7790191 (patch)
tree19d1ff10e31e5152e713bbbd4271d44b71565c01 /clang/lib/Lex/Lexer.cpp
parentf4e95d7290fcf8595892298212e6879c0101a695 (diff)
downloadllvm-531aec2e9033c7c2035bebcbbac9a407a7790191.zip
llvm-531aec2e9033c7c2035bebcbbac9a407a7790191.tar.gz
llvm-531aec2e9033c7c2035bebcbbac9a407a7790191.tar.bz2
Fixed unused variable warning introduced in r313796 causing build failure
llvm-svn: 313802
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r--clang/lib/Lex/Lexer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp
index b7f97a5..9885ab9 100644
--- a/clang/lib/Lex/Lexer.cpp
+++ b/clang/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;