webrtc/modules/audio_processing/agc
Mirko Bonadei fc52b912a3 Implicitly suppress //build/config/clang:find_bad_constructs.
Since there is no way to enable/disable these diagnostics at runtime,
this CL moves the suppression into the rtc_* templates in order to
remove the need to explicitly add the snippet of code needed to
suppress it (currently copy/pasted in 144 locations).

The diagnostic that causes the most problems is the one about "complex
class/struct explicit ctor/dtor" [1] because WebRTC doesn't find
it useful enough.

Other diagnostics are good (for example the one that warns about
using "virtual" instead of "override", but that will be covered by
this clang-tidy check [2]) while others are Chromium related so
they have never triggered.

[1] - https://cs.chromium.org/chromium/src/tools/clang/plugins/FindBadConstructsConsumer.cpp?l=147-167&rcl=b4bebe1aa15dba7ca5fcc6456a81a55665327c3a
[2] - https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html

Bug: webrtc:163
Change-Id: Icbf27efa5b369100a31e6a32df1a0913729b3b34
Reviewed-on: https://webrtc-review.googlesource.com/c/125088
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26918}
2019-03-01 10:18:17 +00:00
..
legacy Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
agc_manager_direct_unittest.cc Remove unnecessary includes of common_types.h 2018-12-07 21:21:13 +00:00
agc_manager_direct.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
agc_manager_direct.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
agc.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
agc.h [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
BUILD.gn Implicitly suppress //build/config/clang:find_bad_constructs. 2019-03-01 10:18:17 +00:00
gain_map_internal.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
loudness_histogram_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
loudness_histogram.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
loudness_histogram.h [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
mock_agc.h Optionally disable digital gain control in ExperimentalAgc. 2018-08-09 13:37:30 +00:00
utility.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
utility.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00