summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2017-12-12 14:15:01 +0000
committerIlya Biryukov <ibiryukov@google.com>2017-12-12 14:15:01 +0000
commitef3191fcfd4345c0e8b15d428ed895fb500c4c0c (patch)
tree3053408a8d09df7c660869b5b28bf2a249758005
parentc2eed926b0bf3125246bc4737a7f64f5358fa8f7 (diff)
downloadbcm5719-llvm-ef3191fcfd4345c0e8b15d428ed895fb500c4c0c.tar.gz
bcm5719-llvm-ef3191fcfd4345c0e8b15d428ed895fb500c4c0c.zip
[clangd] Removed unused variable. NFC
llvm-svn: 320482
-rw-r--r--clang-tools-extra/clangd/ClangdUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/ClangdUnit.cpp b/clang-tools-extra/clangd/ClangdUnit.cpp
index e369ea18a40..313c72edfce 100644
--- a/clang-tools-extra/clangd/ClangdUnit.cpp
+++ b/clang-tools-extra/clangd/ClangdUnit.cpp
@@ -328,7 +328,7 @@ public:
std::find(Decls.begin(), Decls.end(), D) == Decls.end()) {
return true;
}
- SourceLocation Begin, End;
+ SourceLocation End;
const LangOptions &LangOpts = AST.getLangOpts();
SourceLocation StartOfFileLoc = SourceMgr.getLocForStartOfFile(FID);
SourceLocation HightlightStartLoc = StartOfFileLoc.getLocWithOffset(Offset);
OpenPOWER on IntegriCloud