[clang] [C++26][clang] Implement P2795R5 'Erroneous behaviour for uninitialized reads' (PR #177614)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 08:32:11 PDT 2026


================
@@ -129,6 +129,15 @@ class APValue {
     None,
     /// This object has an indeterminate value (C++ [basic.indet]).
     Indeterminate,
+
+    /// [defns.erroneous]:
+    /// Erroneous behavior is always the consequence of incorrectprogram code.
----------------
yronglin wrote:

Done

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


More information about the cfe-commits mailing list