[clang-tools-extra] r303154 - Fixing compilation failures on buildbots.

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Tue May 16 03:06:20 PDT 2017


Author: ibiryukov
Date: Tue May 16 05:06:20 2017
New Revision: 303154

URL: http://llvm.org/viewvc/llvm-project?rev=303154&view=rev
Log:
Fixing compilation failures on buildbots.

Modified:
    clang-tools-extra/trunk/clangd/ClangdServer.cpp
    clang-tools-extra/trunk/clangd/DraftStore.cpp
    clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h

Modified: clang-tools-extra/trunk/clangd/ClangdServer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/ClangdServer.cpp?rev=303154&r1=303153&r2=303154&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/ClangdServer.cpp (original)
+++ clang-tools-extra/trunk/clangd/ClangdServer.cpp Tue May 16 05:06:20 2017
@@ -14,6 +14,7 @@
 #include "clang/Tooling/CompilationDatabase.h"
 #include "llvm/Support/FileSystem.h"
 
+using namespace clang;
 using namespace clang::clangd;
 
 WorkerRequest::WorkerRequest(WorkerRequestKind Kind, Path File,

Modified: clang-tools-extra/trunk/clangd/DraftStore.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/DraftStore.cpp?rev=303154&r1=303153&r2=303154&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/DraftStore.cpp (original)
+++ clang-tools-extra/trunk/clangd/DraftStore.cpp Tue May 16 05:06:20 2017
@@ -9,6 +9,7 @@
 
 #include "DraftStore.h"
 
+using namespace clang;
 using namespace clang::clangd;
 
 VersionedDraft DraftStore::getDraft(PathRef File) const {

Modified: clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h?rev=303154&r1=303153&r2=303154&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h (original)
+++ clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h Tue May 16 05:06:20 2017
@@ -14,6 +14,7 @@
 #include "llvm/ADT/StringMap.h"
 #include <memory>
 #include <mutex>
+#include <vector>
 
 namespace clang {
 




More information about the cfe-commits mailing list