[clang-tools-extra] r303078 - Fix windows buildbots - missing include and namespace

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Mon May 15 09:36:11 PDT 2017


Author: rksimon
Date: Mon May 15 11:36:11 2017
New Revision: 303078

URL: http://llvm.org/viewvc/llvm-project?rev=303078&view=rev
Log:
Fix windows buildbots - missing include and namespace

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

Modified: clang-tools-extra/trunk/clangd/DraftStore.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/DraftStore.cpp?rev=303078&r1=303077&r2=303078&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/DraftStore.cpp (original)
+++ clang-tools-extra/trunk/clangd/DraftStore.cpp Mon May 15 11:36:11 2017
@@ -29,7 +29,7 @@ DocVersion DraftStore::getVersion(PathRe
   return It->second.Version;
 }
 
-DocVersion DraftStore::updateDraft(PathRef File, StringRef Contents) {
+DocVersion DraftStore::updateDraft(PathRef File, llvm::StringRef Contents) {
   std::lock_guard<std::mutex> Lock(Mutex);
 
   auto &Entry = Drafts[File];

Modified: clang-tools-extra/trunk/clangd/DraftStore.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/DraftStore.h?rev=303078&r1=303077&r2=303078&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/DraftStore.h (original)
+++ clang-tools-extra/trunk/clangd/DraftStore.h Mon May 15 11:36:11 2017
@@ -45,7 +45,7 @@ public:
 
   /// Replace contents of the draft for \p File with \p Contents.
   /// \return The new version of the draft for \p File.
-  DocVersion updateDraft(PathRef File, StringRef Contents);
+  DocVersion updateDraft(PathRef File, llvm::StringRef Contents);
   /// Remove the contents of the draft
   /// \return The new version of the draft for \p File.
   DocVersion removeDraft(PathRef File);

Modified: clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h?rev=303078&r1=303077&r2=303078&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h (original)
+++ clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.h Mon May 15 11:36:11 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