This will need careful review.
I've tested with both Clang and GCC in both 32-bit and 64-bit mode, without
being able to detect any regression.
But not all UPRV_LENGTHOF() expressions introduced by this change are actually
equivalent to what they are replacing, on several occasions I've also changed
what I believe to be bugs in the existing code.
Issue 286430043: ticket:12012: Replace irregular sizeof expressions with UPRV_LENGTHOF().
(Closed)
Created 9 years, 1 month ago by roubert (google)
Modified 9 years, 1 month ago
Reviewers: markus.icu
Base URL: svn+ssh://source.icu-project.org/repos/icu/icu/trunk
Comments: 0