From 22b6c5c2c1b6e5d306517ce2e480710fcab352bf Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 23 Oct 2014 16:39:09 -0700 Subject: [PATCH] Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS. BUG: 18108271 Change-Id: Id929cad31340d2946027603c1c8c8fb1cb60f66a --- core/clang/config.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/clang/config.mk b/core/clang/config.mk index 54466a7864..acb425dc4b 100644 --- a/core/clang/config.mk +++ b/core/clang/config.mk @@ -54,6 +54,7 @@ CLANG_CONFIG_UNKNOWN_CFLAGS := \ -funswitch-loops \ -Wmaybe-uninitialized \ -Wno-error=maybe-uninitialized \ + -Wno-free-nonheap-object \ -Wno-literal-suffix \ -Wno-maybe-uninitialized \ -Wno-old-style-declaration \