[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

Walter Lee via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 19 07:07:33 PST 2023


================
@@ -57,6 +57,14 @@
 // CHECK-MODULE-MAP-FILES: "-fmodule-map-file=foo.map"
 // CHECK-MODULE-MAP-FILES: "-fmodule-map-file=bar.map"
 
+// RUN: %clang -fno-modules -fmodule-name=foo -c -### %s 2>&1 | FileCheck -check-prefix=CHECK-PROPAGATE-MODULE-NAME %s
----------------
googlewalt wrote:

Done.

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


More information about the cfe-commits mailing list