commit | 407442dec75588d5f5319eedc5c6afd3f709d814 | [log] [tgz] |
---|---|---|
author | Jose Dapena Paz <jose.dapena@lge.com> | Thu Jul 25 16:41:56 2019 +0200 |
committer | Markus Scherer <markus.icu@gmail.com> | Mon Aug 26 09:14:01 2019 -0700 |
tree | 4fb836d66123164cf825ffad600b60bbcc58716a | |
parent | d3315d98ef82b09aabef12e3f7fb46d171d8bc32 [diff] |
ICU-20784 Do not override clang compiler internal builtins In the case several internal builtins defined by clang were not available, ICU was replacing them by a stub implementation. But that was breaking detection of availability of same methods in other parts of Chromium (specifically in base/location.h). Instead of that, this change creates ICU specific macros that will map to those builtins when available, or to stub implementation if not. I.e. for the case of __has_builtin, previous implementation was defining __has_builtin(x) as 0 in case it was not declared. With new implementation, there is a macro UPRV_HAS_BUILTIN that maps to __has_builtin if available, or 0 if not.
This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.
Build | Status |
---|---|
TravisCI | |
Win x64 Release | |
Win x86 Release |
icu4c/
ICU for C/C++icu4j/
ICU for Javatools/
Toolsvendor/
Vendor dependenciesPlease see ./icu4c/LICENSE (C and J are under an identical license file.)
Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. Terms of Use and License