Merge "Disable gnu-folding-constant warning." am: adeb44b112

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1573787

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ide350d35ad29608959d9ee4528f81412befac207
This commit is contained in:
Chih-hung Hsieh
2021-02-05 00:26:23 +00:00
committed by Automerger Merge Worker

View File

@@ -142,6 +142,9 @@ func init() {
// Nested and array designated initialization is nice to have. // Nested and array designated initialization is nice to have.
"-Wno-c99-designator", "-Wno-c99-designator",
// Warnings from clang-12
"-Wno-gnu-folding-constant",
// Calls to the APIs that are newer than the min sdk version of the caller should be // Calls to the APIs that are newer than the min sdk version of the caller should be
// guarded with __builtin_available. // guarded with __builtin_available.
"-Wunguarded-availability", "-Wunguarded-availability",