[clang] [llvm] [clang][P2996]: Fix clang's builtin C++ headers search order (PR #237637)

Jordan Rupprecht via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 2 08:47:15 PST 2026


================
@@ -2017,7 +2017,8 @@ builtin_headers = glob(
     "lib/Headers/cuda_wrappers/algorithm",
     "lib/Headers/cuda_wrappers/complex",
     "lib/Headers/cuda_wrappers/new",
-    "lib/Headers/meta",
+    "lib/Headers/cxx/meta",
+    "lib/Headers/cxx/module.modulemap",
----------------
rupprecht wrote:

You are always free to ignore bazel, as it's in the peripheral tier. Don't take those fix PRs as a sign of something missing from your changes -- those are the cost of being in the peripheral tier that we've already accepted.

That said, the bazel change here LGTM, and the path of least effort now would be to just keep it included in the PR. Nobody should ever feel obliged to update bazel in their PR, but I'm not going to object if you want to save us from making a build fix :)

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


More information about the cfe-commits mailing list