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

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5c39333a9c22d825e549f254a720307ccf5cae01
This commit is contained in:
Chih-hung Hsieh 2021-02-05 01:28:03 +00:00 committed by Automerger Merge Worker
commit e2df322a97
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ func init() {
// Nested and array designated initialization is nice to have.
"-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
// guarded with __builtin_available.
"-Wunguarded-availability",