Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(808)

Issue 1921653002: Enable -Winconsistent-missing-override flag. (Closed)

Created:
4 years, 8 months ago by nisse-webrtc
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, danilchap, video-team_agora.io, hlundin-webrtc, yujie_mao (webrtc), kwiberg-webrtc, zhuangzesen_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, peah-webrtc, minyue-webrtc, the sun, pbos-webrtc, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Enable -Winconsistent-missing-override flag. The problem with gmock is worked around by commenting out any other override declarations in classes using gmock. NOPRESUBMIT=True BUG=webrtc:3970 Committed: https://crrev.com/ef8b61e11062295365f11b9942f18a08a8b3ec60 Cr-Commit-Position: refs/heads/master@{#12563}

Patch Set 1 #

Patch Set 2 : Fix for android build. Comment and spacing improvements. #

Patch Set 3 : Rebase. #

Total comments: 1

Patch Set 4 : Add warning flag also for GN builds. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -196 lines) Patch
M webrtc/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/dtmfsender.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/dtmfsender_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/java/jni/peerconnection_jni.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/mediastream.h View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/api/peerconnectionfactory.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/peerconnectioninterface_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/api/rtpsender.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/api/rtpsenderreceiver_unittest.cc View 1 2 3 4 2 chunks +7 lines, -3 lines 0 comments Download
M webrtc/api/statscollector_unittest.cc View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M webrtc/api/test/fakeaudiocapturemodule.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/api/test/fakeaudiocapturemodule_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/test/fakedtlsidentitystore.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/videotrack.h View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/api/videotracksource.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/callback_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/fakesslidentity.h View 1 2 3 4 2 chunks +9 lines, -9 lines 0 comments Download
M webrtc/base/rtccertificategenerator_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/sslstreamadapter_unittest.cc View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M webrtc/build/common.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/call/call_perf_tests.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_video/i420_buffer_pool.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/base/fakemediaengine.h View 3 chunks +11 lines, -11 lines 0 comments Download
M webrtc/media/engine/fakewebrtcvideoengine.h View 3 chunks +6 lines, -6 lines 0 comments Download
M webrtc/media/engine/fakewebrtcvoiceengine.h View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M webrtc/media/engine/webrtcvideocapturer.h View 1 chunk +5 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/test/isac_speed_test.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/opus_speed_test.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc View 1 4 chunks +12 lines, -11 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/neteq_isac_quality_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/receive_statistics_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_payload_registry.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/utility/include/mock/mock_process_thread.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/utility/source/file_recorder_impl.h View 2 chunks +11 lines, -11 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/realtime_temporal_layers.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc View 1 1 chunk +12 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.h View 1 chunk +10 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/jitter_buffer_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/port_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/mock_voice_engine.h View 1 3 chunks +7 lines, -2 lines 0 comments Download
M webrtc/test/rtp_file_reader.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/overuse_frame_detector_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/video/vie_channel.h View 1 2 3 4 2 chunks +12 lines, -13 lines 0 comments Download

Messages

Total messages: 42 (20 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921653002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921653002/1
4 years, 8 months ago (2016-04-25 13:55:32 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5061)
4 years, 8 months ago (2016-04-25 14:12:34 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921653002/20001
4 years, 7 months ago (2016-04-27 12:40:16 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_rel/builds/13217)
4 years, 7 months ago (2016-04-27 12:51:48 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921653002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921653002/40001
4 years, 7 months ago (2016-04-27 12:58:40 UTC) #11
nisse-webrtc
4 years, 7 months ago (2016-04-27 13:05:59 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_baremetal/builds/10851)
4 years, 7 months ago (2016-04-27 14:04:46 UTC) #17
kjellander_webrtc
all sources look good, but please add the warning to the GN build as well ...
4 years, 7 months ago (2016-04-27 14:11:35 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921653002/60001
4 years, 7 months ago (2016-04-29 08:12:46 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/12924)
4 years, 7 months ago (2016-04-29 08:20:01 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921653002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921653002/80001
4 years, 7 months ago (2016-04-29 08:35:11 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5164)
4 years, 7 months ago (2016-04-29 09:32:19 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921653002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921653002/80001
4 years, 7 months ago (2016-04-29 09:51:40 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5166)
4 years, 7 months ago (2016-04-29 09:54:53 UTC) #30
nisse-webrtc
Looks all green now, except for an exception in presubmit which I don't quite undestand.
4 years, 7 months ago (2016-04-29 11:46:52 UTC) #31
kjellander_webrtc
On 2016/04/29 11:46:52, nisse-webrtc wrote: > Looks all green now, except for an exception in ...
4 years, 7 months ago (2016-04-29 12:16:28 UTC) #32
mflodman
Agree in general and looking at some samples, after talking to nisse, and trusting kjellanders ...
4 years, 7 months ago (2016-04-29 12:44:11 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921653002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921653002/80001
4 years, 7 months ago (2016-04-29 13:08:54 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-04-29 13:09:20 UTC) #38
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/ef8b61e11062295365f11b9942f18a08a8b3ec60 Cr-Commit-Position: refs/heads/master@{#12563}
4 years, 7 months ago (2016-05-01 22:01:58 UTC) #40
ivoc
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.webrtc.org/1944743002/ by ivoc@webrtc.org. ...
4 years, 7 months ago (2016-05-03 14:42:59 UTC) #41
ivoc
4 years, 7 months ago (2016-05-04 07:40:24 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.webrtc.org/1946133002/ by ivoc@webrtc.org.

The reason for reverting is: This CL breaks the google3 import (but not the
import bot).
.

Powered by Google App Engine
This is Rietveld 408576698