[flang-commits] [flang] [flang] Fix extra "./" prefix in source file paths (PR #186212)

Caroline Newcombe via flang-commits flang-commits at lists.llvm.org
Sun Mar 15 19:13:23 PDT 2026


================
@@ -63,9 +63,21 @@ std::optional<std::string> LocateSourceFile(
   if (name == "-" || llvm::sys::path::is_absolute(name)) {
     return name;
   }
+  // Check if file exists at original path to preserve user's format.
----------------
cenewcombe wrote:

This has been removed 😬 

https://github.com/llvm/llvm-project/pull/186212


More information about the flang-commits mailing list