[all-commits] [llvm/llvm-project] d4cac7: [clang] Mark `PrivateFieldNames.def` as textual he...
Aviral Goel via All-commits
all-commits at lists.llvm.org
Thu Feb 12 14:59:45 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4cac78250cea841d63c2f2be868f1bb29a973a3
https://github.com/llvm/llvm-project/commit/d4cac78250cea841d63c2f2be868f1bb29a973a3
Author: Aviral Goel <aviralg at users.noreply.github.com>
Date: 2026-02-12 (Thu, 12 Feb 2026)
Changed paths:
M clang/include/module.modulemap
Log Message:
-----------
[clang] Mark `PrivateFieldNames.def` as textual header in module map (#181250)
When building with modules enabled (`LLVM_ENABLE_MODULES=ON`), the
module system attempts to transform the inclusion of
`PrivateFieldNames.def` into a module import. Since this `#include`
appears inside the `SerializationFormat` class definition (to generate
accessor methods via macros), the resulting module import violates C++
modules rules that imports must appear at file scope. The fix is to mark
`PrivateFieldNames.def` as a textual header in the `Clang_Analysis`
module to ensure the file is processed as a traditional textual include.
rdar://170257449
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list