[clang] [clang][driver][clang-cl] Support `--precompile` and `-fmodule-*` options in Clang-CL (PR #98761)
Sharadh Rajaraman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 22 14:02:02 PDT 2024
================
@@ -0,0 +1,65 @@
+// REQUIRES: system-windows
+
+// RUN: rm -rf %t
+// RUN: mkdir -p %t
+// RUN: split-file %s %t
+
+// RUN: %clang_cl /std:c++20 --precompile "%/t/Hello.cppm" "/Fo%/t/Hello.pcm"
----------------
sharadhr wrote:
I notice there's a very long test in `cl-options.c` that seem to test Clang-specific options. Could I just slide these three options in the long list of `//RUN: -fsomeoption`? In particular, this part: https://github.com/llvm/llvm-project/blob/d48d4805f792adbdac58d480f890449def4964ea/clang/test/Driver/cl-options.c#L724-L733
https://github.com/llvm/llvm-project/pull/98761
More information about the cfe-commits
mailing list