File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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(
53185318 // Open the AST file.
53195319 auto Buffer = FileMgr.getBufferForFile (ASTFileName, /* IsVolatile=*/ false ,
53205320 /* RequiresNullTerminator=*/ false ,
5321- /* IsText=*/ true );
5321+ /* IsText=*/ false );
53225322 if (!Buffer) {
53235323 Diags.Report (diag::err_fe_unable_to_read_pch_file)
53245324 << ASTFileName << Buffer.getError ().message ();
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ class FileCollectorFileSystem : public vfs::FileSystem {
268268 }
269269
270270 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 {
272272 auto Result = FS->openFileForRead (Path, IsText);
273273 if (Result && *Result)
274274 Collector->addFile (Path);
You can’t perform that action at this time.
0 commit comments