Fix windows buildbots - missing include and namespace

llvm-svn: 303078
This commit is contained in:
Simon Pilgrim 2017-05-15 16:36:11 +00:00
parent 2c84541a21
commit 47f1ca91cf
3 changed files with 3 additions and 2 deletions

View File

@ -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];

View File

@ -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);

View File

@ -14,6 +14,7 @@
#include "llvm/ADT/StringMap.h"
#include <memory>
#include <mutex>
#include <vector>
namespace clang {