summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 05:05:41 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 05:05:41 +0000
commit64bbd6c50ad2958b1de844d419b5a0f4e8db4b0f (patch)
treee48902f2fc4b400c1201f465ad50c62217592872 /build
parent86a02ebc85759ae64d786f7ab3fab85bbe92bdd4 (diff)
downloadchromium_src-64bbd6c50ad2958b1de844d419b5a0f4e8db4b0f.zip
chromium_src-64bbd6c50ad2958b1de844d419b5a0f4e8db4b0f.tar.gz
chromium_src-64bbd6c50ad2958b1de844d419b5a0f4e8db4b0f.tar.bz2
-Wunused-functions for linux, android, chromeos
BUG=315884 TBR=hans@chromium.org Review URL: https://codereview.chromium.org/62983004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 01078b9..228169b 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3223,8 +3223,10 @@
# Don't die on dtoa code that uses a char as an array index.
'-Wno-char-subscripts',
- # Clang spots more unused functions. TODO remove, crbug.com/315884
- '-Wno-unused-function',
+ # TODO(thakis): This used to be implied by -Wno-unused-function,
+ # which we no longer use. Check if it makes sense to remove
+ # this as well. http://crbug.com/316352
+ '-Wno-unneeded-internal-declaration',
# Warns on switches on enums that cover all enum values but
# also contain a default: branch. Chrome is full of that.