@@ -395,9 +395,7 @@ class ClangImporter final : public ClangModuleLoader {
395395 // / replica.
396396 // /
397397 // / \sa clang::GeneratePCHAction
398- bool
399- emitBridgingPCH (llvm::IntrusiveRefCntPtr<llvm::vfs::OutputBackend> backend,
400- StringRef headerPath, StringRef outputPCHPath);
398+ bool emitBridgingPCH (StringRef headerPath, StringRef outputPCHPath);
401399
402400 // / Returns true if a clang CompilerInstance can successfully read in a PCH,
403401 // / assuming it exists, with the current options. This can be used to find out
@@ -408,21 +406,16 @@ class ClangImporter final : public ClangModuleLoader {
408406 // / module map into the replica and emits a PCM file for one of the modules it
409407 // / declares. Delegates to clang for everything except construction of the
410408 // / replica.
411- bool emitPrecompiledModule (
412- llvm::IntrusiveRefCntPtr<llvm::vfs::OutputBackend> backend,
413- StringRef moduleMapPath, StringRef moduleName, StringRef outputPath);
409+ bool emitPrecompiledModule (StringRef moduleMapPath, StringRef moduleName,
410+ StringRef outputPath);
414411
415412 // / Makes a temporary replica of the ClangImporter's CompilerInstance and
416413 // / dumps information about a PCM file (assumed to be generated by -emit-pcm
417414 // / or in the Swift module cache). Delegates to clang for everything except
418415 // / construction of the replica.
419- bool dumpPrecompiledModule (
420- llvm::IntrusiveRefCntPtr<llvm::vfs::OutputBackend> backend,
421- StringRef modulePath, StringRef outputPath);
416+ bool dumpPrecompiledModule (StringRef modulePath, StringRef outputPath);
422417
423- bool
424- runPreprocessor (llvm::IntrusiveRefCntPtr<llvm::vfs::OutputBackend> backend,
425- StringRef inputPath, StringRef outputPath);
418+ bool runPreprocessor (StringRef inputPath, StringRef outputPath);
426419 const clang::Module *getClangOwningModule (ClangNode Node) const ;
427420 bool hasTypedef (const clang::Decl *typeDecl) const ;
428421
@@ -510,8 +503,7 @@ class ClangImporter final : public ClangModuleLoader {
510503
511504 Optional<std::string>
512505 getOrCreatePCH (const ClangImporterOptions &ImporterOptions,
513- StringRef SwiftPCHHash,
514- llvm::IntrusiveRefCntPtr<llvm::vfs::OutputBackend> Backend);
506+ StringRef SwiftPCHHash);
515507 Optional<std::string>
516508 // / \param isExplicit true if the PCH filename was passed directly
517509 // / with -import-objc-header option.
0 commit comments