mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00
Fix windows buildbots - missing include and namespace
llvm-svn: 303078
This commit is contained in:
parent
2c84541a21
commit
47f1ca91cf
@ -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];
|
||||
|
@ -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);
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user