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

2023-12-20 Thread Walter Lee via cfe-commits
@@ -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

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

2023-12-20 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From eefa77a7cc7c671ef1551239e473f0267527dfa3 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH 1/2] Add tests for driver to propagate module map flags when

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

2023-12-19 Thread Fangrui Song via cfe-commits
@@ -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

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

2023-12-19 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/75827 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-19 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/75827 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From eefa77a7cc7c671ef1551239e473f0267527dfa3 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when

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

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From 308e72ed9735f739a0993062415301fea0f47b77 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when

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

2023-12-19 Thread Walter Lee via cfe-commits
@@ -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

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

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From 308e72ed9735f739a0993062415301fea0f47b77 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when

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

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From 303bcd180e438abd570bd9abd55582959d313ae3 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when

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

2023-12-18 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/75827 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-18 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/75827 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-18 Thread Fangrui Song via cfe-commits
@@ -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

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

2023-12-18 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Walter Lee (googlewalt) Changes …ules We use this to verify properties of our build graph, even when modules are off. Xcode 14.3.1 seems to have dropped these flags so we are creating a unit test to reproduce the issue. ---

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

2023-12-18 Thread Walter Lee via cfe-commits
https://github.com/googlewalt created https://github.com/llvm/llvm-project/pull/75827 …ules We use this to verify properties of our build graph, even when modules are off. Xcode 14.3.1 seems to have dropped these flags so we are creating a unit test to reproduce the issue. >From