[clang] [clang-cl] Accept `cl`-style output arguments (`/Fo`, `-Fo`) for `--fmodule-output` (PR #121046)
Sharadh Rajaraman via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 17:33:57 PDT 2025
================
@@ -14,3 +14,11 @@
//--- test.pcm
// CPP20WARNING-NOT: clang-cl: warning: argument unused during compilation: '/std:c++20' [-Wunused-command-line-argument]
+
+// test whether the following outputs %Hello.bmi
+// RUN: %clang_cl /std:c++20 --precompile -x c++-module -fmodule-output=%t/Hello.bmi -Fo"%t/Hello.bmi" -c %t/Hello.cppm -### 2>&1 | FileCheck %s
----------------
sharadhr wrote:
Coming back after a long while...
Both arguments were provided to exercise [CMake's command-line invocation](https://gitlab.kitware.com/cmake/cmake/-/issues/25731#note_1603044) which given this information might be incorrect.
@ChuanqiXu9 are you able to provide more information?
https://github.com/llvm/llvm-project/pull/121046
More information about the cfe-commits
mailing list