[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 18 12:04:24 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
----------------
MaskRay wrote:
Add some comment about the behavior?
https://github.com/llvm/llvm-project/pull/75827
More information about the cfe-commits
mailing list