[clang] [clang] use canonical arguments for checking function template constraints (PR #186889)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 16 14:53:31 PDT 2026


mizvekov wrote:

> I appreciate this @mizvekov , thank you for helping out here. I'm not sure I got the subtlty of the regression you were talking about until now.

It's the test case added in `clang/test/SemaTemplate/concept.cpp`, under namespace `instantiation_dependent`.
The regression was that we would accept it, ignoring the substitution failure.
It's still present in main as of now: https://compiler-explorer.com/z/5Mjno7nz6



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


More information about the cfe-commits mailing list