================ @@ -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">; ---------------- ojhunt wrote:
I don't think this needs to be worded like this - I think it should just "this operation overflowed", the behavior at runtime isn't important, it's that compile time evaluation failed due to the overflow. https://github.com/llvm/llvm-project/pull/183826 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
