[clang] [clang-tools-extra] Remove delayed typo expressions (PR #143423)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 10 12:52:37 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list