llvm-project/clang/test/CXX/expr
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.arith.conv
expr.ass
expr.cast
expr.cond
expr.const [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
expr.mptr.oper
expr.post [c++2b] Implement P0849R8 auto(x) 2022-02-28 19:21:08 -06:00
expr.prim Implement DR2565: Invalid types in the parameter-declaration-clause of a 2022-10-04 10:32:48 -07:00
expr.unary [c++2b] Implement P0849R8 auto(x) 2022-02-28 19:21:08 -06:00
p3.cpp
p8.cpp
p9.cpp
p10-0x.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
p13.cpp