File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5318,7 +5318,7 @@ std::string ASTReader::getOriginalSourceFile(
5318
5318
// Open the AST file.
5319
5319
auto Buffer = FileMgr.getBufferForFile(ASTFileName, /*IsVolatile=*/false,
5320
5320
/*RequiresNullTerminator=*/false,
5321
- /*IsText=*/true );
5321
+ /*IsText=*/false );
5322
5322
if (!Buffer) {
5323
5323
Diags.Report(diag::err_fe_unable_to_read_pch_file)
5324
5324
<< ASTFileName << Buffer.getError().message();
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ class FileCollectorFileSystem : public vfs::FileSystem {
268
268
}
269
269
270
270
llvm::ErrorOr<std::unique_ptr<llvm::vfs::File>>
271
- openFileForRead (const Twine &Path, bool IsText) override {
271
+ openFileForRead (const Twine &Path, bool IsText = true ) override {
272
272
auto Result = FS->openFileForRead (Path, IsText);
273
273
if (Result && *Result)
274
274
Collector->addFile (Path);
You can’t perform that action at this time.
0 commit comments