platform_build_soong/cc/config
Nick Desaulniers 4f49e35902 soong: upgrade Android platform to clang-r370808
-Wc99-designators warns for the use of nested and array initializers in
C++20 code. Many internal projects have pushed back against this
warning.

Disables:
- -Wimplicit-int-float-conversion
- -Wpointer-compare
- -Wxor-used-as-pow
- -Wfinal-dtor-non-final-class
- -Wreorder-init-list

For projects under external/, vendor/, etc, but only if they use
Android.bp (not Android.mk) and -Wreorder-init-list may be re-enabled by
-Wall if set locally.

-Wno-incomplete-setjmp-declaration is needed for NDK stubs that get
generated (functions without full definitions of their parameters).

Sets
- -Wno-error=implicit-int-float-conversion
- -Wno-error=reorder-init-list
for all projects in order to unblock landing the compiler upgrade due to
internal projects not being able to disable or fix these before the
upgrade.

Bug: 139945549
Test: build (aosp_crosshatch, crosshatch, aosp_x86_64-eng,
  walleye), boot internal devices, bionic + RS atests, kernel builds.
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>

Change-Id: I18e3c0eb657fd59824526f36c6dd57bdcf0526ba
2019-11-26 10:09:15 -08:00
..
arm64_device.go Move arch variants registering code to arch.go. 2019-01-16 18:29:03 -08:00
arm64_fuchsia_device.go Support building for Fuchsia. 2019-01-24 18:59:29 +00:00
arm_device.go Add missing cortex-a76 arm configuration 2019-09-12 18:37:45 +02:00
cfi_exports.map Revert "Revert "Build system changes for CFI (Soong)"" 2017-11-01 12:50:01 -07:00
clang.go soong: upgrade Android platform to clang-r370808 2019-11-26 10:09:15 -08:00
global.go soong: upgrade Android platform to clang-r370808 2019-11-26 10:09:15 -08:00
integer_overflow_blacklist.txt Add integer_overflow sanitization build option. 2017-07-07 09:52:23 -07:00
mips64_device.go Move arch variants registering code to arch.go. 2019-01-16 18:29:03 -08:00
mips_device.go Move arch variants registering code to arch.go. 2019-01-16 18:29:03 -08:00
tidy.go Revert "Disable performance-noexcept-move-constructor check." 2018-10-05 18:45:06 +00:00
tidy_test.go Add clang-tidy support 2016-10-31 16:21:01 -07:00
toolchain.go Add the cc_fuzz target. 2019-07-16 16:30:53 -07:00
vndk.go Add android.hardware.neuralnetworks@1.3 2019-10-16 14:01:25 +01:00
x86_64_device.go Stop defining unused USE_SSSE3. 2019-07-12 22:40:45 -07:00
x86_64_fuchsia_device.go Stop defining unused USE_SSSE3. 2019-07-12 22:40:45 -07:00
x86_darwin_host.go Add support for 10.15 SDK 2019-10-22 17:01:15 -07:00
x86_device.go Stop defining unused USE_SSSE3. 2019-07-12 22:40:45 -07:00
x86_linux_bionic_host.go Remove -fno-emulated-tls from linux_bionic 2018-10-31 11:18:22 -07:00
x86_linux_host.go Add the cc_fuzz target. 2019-07-16 16:30:53 -07:00
x86_windows_host.go Pass -static-libgcc to Windows link commands 2019-10-15 13:58:30 -07:00