[clang-tools-extra] r320482 - [clangd] Removed unused variable. NFC

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 06:15:01 PST 2017


Author: ibiryukov
Date: Tue Dec 12 06:15:01 2017
New Revision: 320482

URL: http://llvm.org/viewvc/llvm-project?rev=320482&view=rev
Log:
[clangd] Removed unused variable. NFC

Modified:
    clang-tools-extra/trunk/clangd/ClangdUnit.cpp

Modified: clang-tools-extra/trunk/clangd/ClangdUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/ClangdUnit.cpp?rev=320482&r1=320481&r2=320482&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/ClangdUnit.cpp (original)
+++ clang-tools-extra/trunk/clangd/ClangdUnit.cpp Tue Dec 12 06:15:01 2017
@@ -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);




More information about the cfe-commits mailing list