================
@@ -36,7 +36,7 @@ using r1i2 = r1<char>; // expected-error {{constraints not 
satisfied for class t
 template<typename... Ts> requires
 false_v<requires (Ts... ts) {requires ((sizeof(ts) == 2) && ...);}>
 // expected-note@-1 {{because 'false_v<requires (short ts, unsigned short ts) 
{ requires (sizeof (ts) == 2) && (sizeof (ts) == 2); }>'}}
-// expected-note@-2 {{because 'false_v<requires (short ts) { requires (sizeof 
(ts) == 2); }>' evaluated to false}}
+// expected-note@-2 {{because 'false_v<requires (short ts) { requires sizeof 
(ts) == 2; }>' evaluated to false}}
----------------
erichkeane wrote:

*NOTE: The mental model of 'parens are a necessary part of the fold expr' is 
not in the standard of course, which just uses a 'cast-expr' for that, but is 
it effectively so? 

https://github.com/llvm/llvm-project/pull/110761
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to