llvm-project
2537596d - [clang][modules] Diagnose headers owned by multiple modules (#188538)

Commit
22 days ago
[clang][modules] Diagnose headers owned by multiple modules (#188538) Add -Wduplicate-header-ownership, an off by default warning that fires at include time when a header is owned by multiple top-level modules. This helps catch overlapping module maps that can cause confusing module resolution. Assisted-by: claude-opus-4.6
Author
Parents
Loading