[clang] [APINotes] Diagnose invalid Where.Parameters selectors (PR #209408)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 28 03:48:43 PDT 2026
StoeckOverflow wrote:
Thanks for the feedback, updated this to follow the suggested `DenseMap<APINotesFunctionSelectorKey, bool>` shape.
The diagnostic state now tracks exact selector keys directly, with the bool recording whether Sema matched that selector. I removed the extra `APINotesFunctionSelector` / diagnostic-entry representation entirely, so parameter spellings are no longer stored in Sema state. They are reconstructed lazily through the reader only when emitting an unmatched-selector warning.
https://github.com/llvm/llvm-project/pull/209408
More information about the cfe-commits
mailing list