| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index a028841c24556fa58743f9604f2303f5fcfd1d8f..1e8da2d700d3bf7a3035d871983440f41bb828c2 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -700,8 +700,10 @@ config("default_warnings") {
|
| # http://crbug.com/255186
|
| "-Wno-deprecated-register",
|
|
|
| - # Clang spots more unused functions.
|
| - "-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",
|
| ]
|
|
|
| if (!is_mac && !is_ios) {
|
|
|