mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
swift: update for LLVM SVN r344140
Update swift's usage of clang::vfs which has been hoisted into LLVM.
This commit is contained in:
committed by
Bob Wilson
parent
fb305479b6
commit
adcdc39791
@@ -20,6 +20,7 @@
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/Process.h"
|
||||
#include "llvm/Support/Signals.h"
|
||||
#include "llvm/Support/VirtualFileSystem.h"
|
||||
|
||||
using namespace swift;
|
||||
|
||||
@@ -223,7 +224,7 @@ std::error_code swift::moveFileIfDifferent(const llvm::Twine &source,
|
||||
}
|
||||
|
||||
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
|
||||
swift::vfs::getFileOrSTDIN(clang::vfs::FileSystem &FS,
|
||||
swift::vfs::getFileOrSTDIN(llvm::vfs::FileSystem &FS,
|
||||
const llvm::Twine &Filename,
|
||||
int64_t FileSize,
|
||||
bool RequiresNullTerminator,
|
||||
|
||||
Reference in New Issue
Block a user