================
@@ -144,7 +144,7 @@ EVAL_EXPR(52, &pr24622 == (void *)&PR24622);
// We evaluate these by providing 2s' complement semantics in constant
// expressions, like we do for integers.
-void *PR28739a = (__int128)(unsigned long)-1 + &PR28739a; //
both-warning {{the pointer incremented by 18446744073709551615 refers past the
last possible element for an array in 64-bit address space containing 64-bit
(8-byte) elements (max possible 2305843009213693952 elements)}}
+void *PR28739a = (__int128)(unsigned long)-1 + &PR28739a; //
both-warning {{the pointer incremented by 18'446'744'073'709'551'615 refers
past the last possible element for an array in 64-bit address space containing
64-bit (8-byte) elements (max possible 2305843009213693952 elements)}}
----------------
tbaederr wrote:
It's a little inconsistent that we don't add separators to the maximum possible
elements :/
https://github.com/llvm/llvm-project/pull/161474
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits