[PATCH] D31856: Headers: Make the type of SIZE_MAX the same as size_t

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 20 19:17:25 PDT 2017


dexonsmith added a comment.

It looks like `__INTPTR_TYPE__` was introduced in r64495 in order to help define `intptr_t`, and then they diverged in r89237.

Changing `intptr_t` would change the mangling of symbols in libcxx, so that doesn't seem safe.  Is it safe to change `__INTPTR_TYPE__`?


https://reviews.llvm.org/D31856





More information about the cfe-commits mailing list