================
@@ -226,7 +227,8 @@ void TrivialButNonPODThroughEllipsis() {
 }
 
 struct HasExplicitConversion {
-  explicit operator bool(); // expected-warning {{explicit conversion 
functions are incompatible with C++98}}
+  // FIXME I think we should generate this diagnostic in C++20
----------------
shafik wrote:

https://github.com/llvm/llvm-project/issues/161689

https://github.com/llvm/llvm-project/pull/161277
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to