================
@@ -326,7 +326,7 @@ ErrorOr<std::unique_ptr<File>>
RealFileSystem::openFileForRead(const Twine &Name) {
SmallString<256> RealName, Storage;
Expected<file_t> FDOrErr = sys::fs::openNativeFileForRead(
- adjustPath(Name, Storage), sys::fs::OF_None, &RealName);
+ adjustPath(Name, Storage), sys::fs::OF_Text, &RealName);
----------------
cor3ntin wrote:
I don't think this is always valid, for eg. `#embed` - We should find a way to
propagate that somehow
https://github.com/llvm/llvm-project/pull/98652
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits