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

Issue 2623313004: Replace RTC_DCHECK(false) with RTC_NOTREACHED(). (Closed)

Created:
3 years, 11 months ago by nisse-webrtc
Modified:
3 years, 11 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, henrika_webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace RTC_DCHECK(false) with RTC_NOTREACHED(). Bulk of changes done using git grep -l 'RTC_DCHECK(false)' | \ xargs sed -i 's/RTC_DCHECK(false)/RTC_NOTREACHED()/' peerconnection.cc also used RTC_DCHECK(false && "msg") in two places, which were updated manually. BUG=webrtc:6424 Review-Url: https://codereview.webrtc.org/2623313004 Cr-Commit-Position: refs/heads/master@{#16026} Committed: https://chromium.googlesource.com/external/webrtc/+/eb4ca4e8235c44537b18f8a91059b2da1b7227ff

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -44 lines) Patch
M webrtc/api/peerconnection.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/api/quicdatachannel.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/api/quicdatatransport.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/rtpreceiver.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/api/rtpsender.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/statscollector.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/api/statstypes.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/webrtcsession.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/network.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/stringencode.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/timeutils.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/virtualsocketserver.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/common_audio/vad/vad.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/echo_control_mobile_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/gain_control_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/ns/nsx_core.c View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/test/bitexactness_tools.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/desktop_capture/screen_drawer_linux.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/client/basicportallocator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/pc/channel.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/output_mixer.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
nisse-webrtc
PTAL. I think it's best to do this before replacing ASSERT(false).
3 years, 11 months ago (2017-01-12 08:02:20 UTC) #2
nisse-webrtc
And I guess RTC_CHECK(false) should also be converted to FATAL(), some other time.
3 years, 11 months ago (2017-01-12 08:04:55 UTC) #3
kwiberg-webrtc
lgtm
3 years, 11 months ago (2017-01-12 09:18:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2623313004/1
3 years, 11 months ago (2017-01-12 09:19:13 UTC) #6
kwiberg-webrtc
On 2017/01/12 08:04:55, nisse-webrtc wrote: > And I guess RTC_CHECK(false) should also be converted to ...
3 years, 11 months ago (2017-01-12 09:19:51 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 10:24:35 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/eb4ca4e8235c44537b18f8a91...

Powered by Google App Engine
This is Rietveld 408576698