Enabling clang::find_bad_constructs in modules/BUILD.gn.
This CL removes //build/config/clang:find_bad_constructs from the suppressed_configs list, which means that clang:find_bad_constructs is now enabled on these translation units. Bug: webrtc:9251, webrtc:163 Change-Id: I4d5e8476dca16030814a01447b1d8522f0105b2a Reviewed-on: https://webrtc-review.googlesource.com/89580 Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24038}
This commit is contained in:

committed by
Commit Bot

parent
ddad1fa5f9
commit
692409f8e7
@ -120,11 +120,6 @@ if (rtc_include_tests) {
|
||||
if (is_ios) {
|
||||
deps += [ ":modules_tests_bundle_data" ]
|
||||
}
|
||||
|
||||
if (!build_with_chromium && is_clang) {
|
||||
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
||||
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
||||
}
|
||||
}
|
||||
|
||||
modules_unittests_resources = [
|
||||
@ -245,11 +240,6 @@ if (rtc_include_tests) {
|
||||
"module_common_types_unittest.cc",
|
||||
]
|
||||
|
||||
if (!build_with_chromium && is_clang) {
|
||||
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
||||
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
||||
}
|
||||
|
||||
deps = [
|
||||
":module_api",
|
||||
"../test:test_main",
|
||||
|
Reference in New Issue
Block a user