[clang] [Clang] Fix constexpr inc/dec operators for OverflowBehaviorTypes (PR #183826)
Justin Stitt via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 2 10:02:04 PST 2026
================
@@ -24,6 +24,8 @@ def note_constexpr_invalid_downcast : Note<
"cannot cast object of dynamic type %0 to type %1">;
def note_constexpr_overflow : Note<
"value %0 is outside the range of representable values of type %1">;
+def note_constexpr_overflow_trap
+ : Note<"overflow on type %0 would trap at runtime">;
----------------
JustinStitt wrote:
How does the wording in [`586fd4a`](https://github.com/llvm/llvm-project/pull/183826/commits/586fd4a63c790b8b7c3bacb61e2815b3b54a1766) look?
https://github.com/llvm/llvm-project/pull/183826
More information about the cfe-commits
mailing list