Fredrik Roubert
0bf8a95309
ICU-22793 Remove superfluous return value typecasts to UBool.
2024-09-19 17:11:38 +02:00
Fredrik Roubert
10fe2a6110
ICU-22696 Add uhash support for std::string_view.
2024-07-30 06:45:43 +02:00
Fredrik Roubert
0178a07a26
ICU-22793 Clang-Tidy: google-readability-casting
...
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-casting.html
2024-07-04 22:32:12 +02:00
Fredrik Roubert
2de88f9d9c
ICU-21833 Replace UChar with char16_t in all C++ code.
2023-02-06 19:27:44 +01:00
Fredrik Roubert
2e0d30cfcf
ICU-21833 Replace NULL with nullptr in all C++ code.
2023-02-03 20:20:38 +01:00
Fredrik Roubert
030fa1a479
ICU-21148 Consistently use standard lowercase true/false everywhere.
...
This is the normal standard way in C, C++ as well as Java and there's no
longer any reason for ICU to be different. The various internal macros
providing custom boolean constants can all be deleted and code as well
as documentation can be updated to use lowercase true/false everywhere.
2022-09-07 20:56:33 +02:00
Peter Edberg
e69f337f3c
ICU-21669 UPRV_UNREACHABLE > UPRV_UNREACHABLE_EXIT/ASSERT, update usages
2021-09-14 15:22:52 -07:00
luz paz
73eca0a9c9
ICU-21580 Fix typos in icu4c/
...
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Markus Scherer
1863bea230
ICU-20698 UHashtable allow integer value zero
2020-12-29 10:33:33 -08:00
Fredrik Roubert
4fb47b12a7
ICU-20601 Wrap ICU implementation compound macros in do { } while.
...
This does the same for the ICU implementation code as was done for the
public ICU API in commit 480bec3ea6
.
2019-08-15 20:48:50 +02:00
Jeff Genovy
5c8960e59e
ICU-20074 Revise UPRV_UNREACHABLE macro to always call abort().
...
Moved the macro from platform.h to uassert.h.
Removed any "unreachable" code that previously occurred after the UPRV_UNREACHABLE macro is used.
Changes based on review from Andy.
Co-authored-by: Daniel Ju <daju@microsoft.com>
2019-01-24 18:50:04 -08:00
Daniel Ju
7453181fff
ICU-20074 Define UPRV_UNREACHABLE macro for unreachable code
...
Replaced occurrences of U_ASSERT(FALSE) with new UPRV_UNREACHABLE macro.
2019-01-14 14:16:26 -08:00
Daniel Ju
b13c951348
ICU-20043 ICU-13214 ICU-13764 MSVC W3 and W4 warning cleanup ( #53 )
...
Cleaned up all of the MSVC W3 warnings and most of the W4 warnings in the common and i18n projects.
2018-09-27 14:27:38 -07:00
Peter Edberg
9075f9cb5a
ICU-12380 Size reductions for transliterator registry (and some speedup)
...
X-SVN-Rev: 40434
2017-09-20 00:39:40 +00:00
William Zhao
d847a21238
ICU-13275 Merge warning cleanup fixes into trunk
...
X-SVN-Rev: 40283
2017-07-22 01:11:59 +00:00
Andy Heninger
242e02c388
ICU-12764 icu4c utf-8 source files, update Copyright notices.
...
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Andy Heninger
0fd5600285
ICU-12809 only .cpp files no .c in ICU library code
...
X-SVN-Rev: 39527
2016-12-07 21:14:27 +00:00