llvm-project/clang/test/CXX/expr/expr.prim
Erich Keane 3d7946c580 Implement DR2565: Invalid types in the parameter-declaration-clause of a
requires-expression

As reported: https://github.com/llvm/llvm-project/issues/57487

We properly treated a failed instantiation of a concept as a
unsatisified constraint, however, we need to do this at the 'requires
clause' level as well.  This ensures that the parameters on a requires
clause that fail instantiation will cause a satisfaction failure.

This patch implements this by running requires parameter clause
instantiation under a SFINAE trap, then stores any such failure as a
requirement failure, so it can be diagnosed later.
2022-10-04 10:32:48 -07:00
..
expr.prim.general PR48339: Improve diagnostics for invalid dependent unqualified function calls. 2020-12-02 17:54:55 -08:00
expr.prim.id Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
expr.prim.lambda [clang] Correct handling of lambdas in lambda default arguments in dependent contexts. 2022-10-04 09:04:54 -07:00
expr.prim.req Implement DR2565: Invalid types in the parameter-declaration-clause of a 2022-10-04 10:32:48 -07:00