diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-05-15 16:36:11 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-05-15 16:36:11 +0000 |
| commit | 47f1ca91cfe83f8a25e2477707e0745dd9a5a80c (patch) | |
| tree | 1118820e58afe1cae13b71e66487b55fff0931d7 | |
| parent | 2c84541a21f487aa25767993e72ae4309e81c521 (diff) | |
| download | bcm5719-llvm-47f1ca91cfe83f8a25e2477707e0745dd9a5a80c.tar.gz bcm5719-llvm-47f1ca91cfe83f8a25e2477707e0745dd9a5a80c.zip | |
Fix windows buildbots - missing include and namespace
llvm-svn: 303078
| -rw-r--r-- | clang-tools-extra/clangd/DraftStore.cpp | 2 | ||||
| -rw-r--r-- | clang-tools-extra/clangd/DraftStore.h | 2 | ||||
| -rw-r--r-- | clang-tools-extra/clangd/GlobalCompilationDatabase.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/clang-tools-extra/clangd/DraftStore.cpp b/clang-tools-extra/clangd/DraftStore.cpp index 3455699a83b..6bdccf2a8c2 100644 --- a/clang-tools-extra/clangd/DraftStore.cpp +++ b/clang-tools-extra/clangd/DraftStore.cpp @@ -29,7 +29,7 @@ DocVersion DraftStore::getVersion(PathRef File) const { 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]; diff --git a/clang-tools-extra/clangd/DraftStore.h b/clang-tools-extra/clangd/DraftStore.h index c4e31e7c813..e746e59843c 100644 --- a/clang-tools-extra/clangd/DraftStore.h +++ b/clang-tools-extra/clangd/DraftStore.h @@ -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); diff --git a/clang-tools-extra/clangd/GlobalCompilationDatabase.h b/clang-tools-extra/clangd/GlobalCompilationDatabase.h index c708c5ca7cd..933e566545b 100644 --- a/clang-tools-extra/clangd/GlobalCompilationDatabase.h +++ b/clang-tools-extra/clangd/GlobalCompilationDatabase.h @@ -14,6 +14,7 @@ #include "llvm/ADT/StringMap.h" #include <memory> #include <mutex> +#include <vector> namespace clang { |

