summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis <thakis@chromium.org>2014-11-12 12:53:32 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-12 20:54:04 +0000
commit4970b5813302934cfc3df8ccd0b8647a912884a1 (patch)
treee37dff9f10da0c819d6a9cba7bf599c62d194656 /build
parent3a2200e8fcdc83989c6ee200fbdce5958ccd9011 (diff)
downloadchromium_src-4970b5813302934cfc3df8ccd0b8647a912884a1.zip
chromium_src-4970b5813302934cfc3df8ccd0b8647a912884a1.tar.gz
chromium_src-4970b5813302934cfc3df8ccd0b8647a912884a1.tar.bz2
Enable -Wunused-local-typedef
BUG=321833 TBR=brettw Review URL: https://codereview.chromium.org/722513003 Cr-Commit-Position: refs/heads/master@{#303892}
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi3
-rw-r--r--build/config/compiler/BUILD.gn3
2 files changed, 0 insertions, 6 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 8e2d6de..2653bb8 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2516,9 +2516,6 @@
# code generated by flex (used in angle) contains that keyword.
# http://crbug.com/255186
'-Wno-deprecated-register',
-
- # TODO(hans): Clean this up. Or disable with finer granularity.
- '-Wno-unused-local-typedef',
],
},
'includes': [ 'set_clang_warning_flags.gypi', ],
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 088120d..1c51cd0 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -745,9 +745,6 @@ config("default_warnings") {
# TODO(thakis): Remove, http://crbug.com/263960
"-Wno-reserved-user-defined-literal",
-
- # TODO(hans): Clean this up. Or disable with finer granularity.
- "-Wno-unused-local-typedef",
]
}
if (gcc_version >= 48) {