[clang] [Clang] Treat constexpr-unknown value as invalid in `evaluateValue` (PR #128409)

Yingwei Zheng via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 23 01:08:15 PST 2025


================
@@ -122,9 +122,9 @@ namespace CaseStatements {
 }
 
 extern int &Recurse1;
-int &Recurse2 = Recurse1; // expected-note {{declared here}}
+int &Recurse2 = Recurse1; // pre-cxx23-note {{declared here}}
----------------
dtcxzyw wrote:

This is a regression.

https://github.com/llvm/llvm-project/pull/128409


More information about the cfe-commits mailing list