From 4603b9f4110376b3791bc317a91e0962b3d443b3 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Mon, 10 Dec 2018 04:55:51 -0800 Subject: [PATCH] Remove unneeded -Wno-expansion-to-defined flag Test: m checkbuild Bug: 29823425 Change-Id: I8c9c7cc92757af20d3a3bbcebeb6360d1df91530 --- cc/config/clang.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cc/config/clang.go b/cc/config/clang.go index d0d199bee..c070bf2b0 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -120,9 +120,6 @@ func init() { // color codes if it is not running in a terminal. "-fcolor-diagnostics", - // http://b/29823425 Disable -Wexpansion-to-defined for Clang update to r271374 - "-Wno-expansion-to-defined", - // http://b/68236239 Allow 0/NULL instead of using nullptr everywhere. "-Wno-zero-as-null-pointer-constant",