mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] Accept a file system in SwiftASTManager::getMemoryBuffer
This commit is contained in:
@@ -262,8 +262,10 @@ public:
|
||||
SourceKitCancellationToken CancellationToken,
|
||||
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fileSystem);
|
||||
|
||||
std::unique_ptr<llvm::MemoryBuffer> getMemoryBuffer(StringRef Filename,
|
||||
std::string &Error);
|
||||
std::unique_ptr<llvm::MemoryBuffer>
|
||||
getMemoryBuffer(StringRef Filename,
|
||||
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FileSystem,
|
||||
std::string &Error);
|
||||
|
||||
bool initCompilerInvocation(swift::CompilerInvocation &Invocation,
|
||||
ArrayRef<const char *> Args,
|
||||
|
||||
Reference in New Issue
Block a user