[PATCH] D151567: [LLVM][Support] Report EISDIR when opening a directory on AIX

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 22:12:01 PDT 2023


sepavloff added inline comments.


================
Comment at: llvm/lib/Support/CommandLine.cpp:1311
+      return createStringError(std::make_error_code(std::errc::is_a_directory),
+                               Twine("cannot not open file ") + FName +
+                                   ": Is a directory.");
----------------
I think putting single quotes around file name (as in the call of `createStringError` above) would fix failing test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151567/new/

https://reviews.llvm.org/D151567



More information about the llvm-commits mailing list