================
@@ -1888,10 +1888,11 @@ namespace PR15884 {
 }
 
 namespace AfterError {
-  constexpr int error() {
+  constexpr int error() { // pre-cxx23-error {{no return statement in 
constexpr function}}
----------------
efriedma-quic wrote:

Did you mean to refer to some other issue report?  The issue here isn't typo 
handling, really; it's that we're discarding the "return" without noting it 
anywhere.

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

Reply via email to