[clang] [clang][Sema] Diagnose unsatisfied constraints on rejected partial specializations (PR #239106)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 23:28:43 PST 2026


tribhu05 wrote:

Thank you for the reminder, @ojhunt and @Fznamznon.

I apologize for omitting the disclosure in the initial PR description. I have read the [LLVM AI Tool Use Policy](https://llvm.org/docs/AIToolPolicy.html) and updated the PR description with the required disclosure.

To confirm compliance with the policy:
- I have reviewed, verified, and tested the changes and regression tests locally across the Clang test suite.
- I understand the implementation details—specifically, evaluating rejected candidate partial specializations to emit `note_ovl_candidate_unsatisfied_constraints` and `DiagnoseUnsatisfiedConstraint` when errors occur in contexts like static asserts, uninstantiable templates, or missing members.
- I am fully accountable for this contribution and ready to answer any technical questions or iterate on the design based on your feedback.


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


More information about the cfe-commits mailing list