Commit graph

37 commits

Author SHA1 Message Date
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
Markus Scherer
b6dcc95d3c ICU-21833 remove redundant void parameter lists
See #2351
2023-03-02 09:31:57 -08:00
Frank Tang
638acd0c38 ICU-21374 Add a CFI build bot for ICU4C
Add the github action bot to build with cfi
Also fix all the known issues which require the change from C style cast to
static_cast inside the i18n and common directory while we are sure about
the object. and use
C++ style dynamic_cast for base-to-derive cast in other code inside i18n
and common and in test code or tool.
Change to use const_cast for casting between const / non-const
2023-02-06 15:47:14 -08: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
Erik Torres Aguilar
6eea259143 ICU-21018 Fix typos across repo that start with letter C
See #1525
2021-01-06 15:15:26 -08: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
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Fredrik Roubert
ebc0f5b22a ICU-12012 Replace all sizeof p / sizeof T with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/288320043 .

X-SVN-Rev: 38347
2016-02-24 21:48:56 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Markus Scherer
9f22b7cb11 ICU-9679 fix Clang 3.1 compiler warnings, all in test code, mostly adding integers to string literals
X-SVN-Rev: 32778
2012-11-09 00:09:28 +00:00
Ram Viswanadha
5c3d31658d ICU-4354 make intltest pass with no data
X-SVN-Rev: 18140
2005-07-05 18:39:00 +00:00
Ram Viswanadha
bf8b9dad77 ICU-4452 improve api coverage
X-SVN-Rev: 18103
2005-06-30 22:45:24 +00:00
Eric Mader
43646aea15 ICU-4179 update copyright notices for ICU 3.2
X-SVN-Rev: 16693
2004-11-01 18:56:24 +00:00
Ram Viswanadha
a0611c7e7a ticket: 4092: revert the changes
X-SVN-Rev: 16665
2004-10-29 00:24:42 +00:00
GCL Shanghai
37862ea9bc ICU-4092 Add API/Method Coverage tests for ICU
X-SVN-Rev: 16652
2004-10-28 14:43:05 +00:00
Steven R. Loomis
c2da4085ce ICU-699 reenable tests, fix compiler errs
X-SVN-Rev: 13598
2003-11-06 01:38:45 +00:00
Steven R. Loomis
e0b86b5334 ICU-699 comment out broken clone tests, to unblock 3357 (int64) testing.
X-SVN-Rev: 13584
2003-11-05 03:04:50 +00:00
Markus Scherer
1e06e62069 ICU-699 add missing clone() functions
X-SVN-Rev: 13579
2003-11-05 02:06:36 +00:00
George Rhoten
c16ea74264 ICU-3326 Improve build time
X-SVN-Rev: 13427
2003-10-15 08:03:56 +00:00
Markus Scherer
0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +00:00
Markus Scherer
8c78422db2 ICU-1561 replace all UTextOffset with int32_t
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
George Rhoten
15b4fbebc1 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4749
2001-05-22 16:54:15 +00:00
Ram Viswanadha
7f6d7e256f ICU-903 update copyright notices
X-SVN-Rev: 4235
2001-03-21 20:09:56 +00:00
George Rhoten
a15b66a53d ICU-535 fixed some compiler warnings
X-SVN-Rev: 2339
2000-08-23 19:11:16 +00:00
George Rhoten
2dbb8812ba ICU-535 fixed some compiler warnings
X-SVN-Rev: 2226
2000-08-14 21:42:36 +00:00
George Rhoten
c0f0217993 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2157
2000-08-10 00:28:31 +00:00
Markus Scherer
b2375850b7 ICU-241 remove obsolete T_INT32()
X-SVN-Rev: 1704
2000-06-29 18:42:34 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Yves Arrouye
5630fb77db ICU-368 do not use C++ streams at all for tests so that they can
run in the lame WebObjects 4 environment.

X-SVN-Rev: 1251
2000-04-25 21:32:10 +00:00
Helena Chapman
3aaa52af8d ICU-161 updated the copyright notices.
X-SVN-Rev: 596
2000-01-15 02:00:06 +00:00
Vladimir Weinstein
8b20f17f49 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 473
1999-12-28 23:57:50 +00:00
Markus Scherer
b942cae860 ICU-6 change enum constants that do not conform to our naming conventions
X-SVN-Rev: 18
1999-10-07 00:07:53 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00