webrtc/modules/congestion_controller/bbr
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
..
test Adds functionality to write logs to memory. 2019-01-16 17:36:31 +00:00
bandwidth_sampler_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
bandwidth_sampler.cc Adds signed infinity to timestamps. 2018-09-04 17:14:05 +00:00
bandwidth_sampler.h Replace rtc::Optional with absl::optional 2018-06-18 10:24:48 +00:00
bbr_factory.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
bbr_factory.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
bbr_network_controller_unittest.cc Removes NetworkControllerTester 2018-12-18 16:11:22 +00:00
bbr_network_controller.cc Enables feature to account for unacknowledged data. 2019-01-23 10:00:52 +00:00
bbr_network_controller.h Adds debug printing for congestion controllers. 2018-07-03 17:00:24 +00:00
BUILD.gn Implicitly suppress //build/config/clang:find_bad_constructs. 2019-03-01 10:18:17 +00:00
data_transfer_tracker_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
data_transfer_tracker.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
data_transfer_tracker.h Adds signed infinity to timestamps. 2018-09-04 17:14:05 +00:00
loss_rate_filter_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
loss_rate_filter.cc Adds loss rate filter in BBR controller. 2018-05-31 11:10:07 +00:00
loss_rate_filter.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
packet_number_indexed_queue_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
packet_number_indexed_queue.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtt_stats_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtt_stats.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtt_stats.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
windowed_filter_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
windowed_filter.h Adding WindowedFilter class for BBR. 2018-03-25 15:20:28 +00:00