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

Issue 372163005: Fixes for re-enabling more MSVC level 4 warnings: mojo/ edition (Closed)

Created:
6 years, 5 months ago by Peter Kasting
Modified:
6 years, 5 months ago
Reviewers:
jamesr, viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, jamesr
Visibility:
Public.

Description

Fixes for re-enabling more MSVC level 4 warnings: mojo/ edition This contains fixes for the following sorts of issues: * Assignment inside conditional * Signedness mismatch BUG=81439 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281964

Patch Set 1 #

Total comments: 1

Patch Set 2 : Review comments #

Total comments: 2

Patch Set 3 : Review comments #

Patch Set 4 : Actually test |was_called| #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -41 lines) Patch
M mojo/public/cpp/environment/tests/logging_unittest.cc View 1 2 3 11 chunks +58 lines, -39 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/node.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Peter Kasting
6 years, 5 months ago (2014-07-08 02:09:47 UTC) #1
jamesr
I think vtl wrote these tests. Not sure exactly what the intent is, so I'll ...
6 years, 5 months ago (2014-07-08 05:03:25 UTC) #2
viettrungluu
https://codereview.chromium.org/372163005/diff/1/mojo/public/cpp/environment/tests/logging_unittest.cc File mojo/public/cpp/environment/tests/logging_unittest.cc (left): https://codereview.chromium.org/372163005/diff/1/mojo/public/cpp/environment/tests/logging_unittest.cc#oldcode346 mojo/public/cpp/environment/tests/logging_unittest.cc:346: // Also try to make sure that we parenthesize ...
6 years, 5 months ago (2014-07-08 15:19:28 UTC) #3
viettrungluu
On 2014/07/08 15:19:28, viettrungluu wrote: > https://codereview.chromium.org/372163005/diff/1/mojo/public/cpp/environment/tests/logging_unittest.cc > File mojo/public/cpp/environment/tests/logging_unittest.cc (left): > > https://codereview.chromium.org/372163005/diff/1/mojo/public/cpp/environment/tests/logging_unittest.cc#oldcode346 > ...
6 years, 5 months ago (2014-07-08 15:21:18 UTC) #4
Peter Kasting
On 2014/07/08 15:21:18, viettrungluu wrote: > On 2014/07/08 15:19:28, viettrungluu wrote: > > > https://codereview.chromium.org/372163005/diff/1/mojo/public/cpp/environment/tests/logging_unittest.cc ...
6 years, 5 months ago (2014-07-08 19:01:20 UTC) #5
viettrungluu
On 2014/07/08 19:01:20, Peter Kasting wrote: > On 2014/07/08 15:21:18, viettrungluu wrote: > > On ...
6 years, 5 months ago (2014-07-08 21:26:11 UTC) #6
Peter Kasting
On 2014/07/08 21:26:11, viettrungluu wrote: > Hmmm, commas don't really play well with macro arguments, ...
6 years, 5 months ago (2014-07-08 23:04:04 UTC) #7
viettrungluu
https://codereview.chromium.org/372163005/diff/20001/mojo/public/cpp/environment/tests/logging_unittest.cc File mojo/public/cpp/environment/tests/logging_unittest.cc (right): https://codereview.chromium.org/372163005/diff/20001/mojo/public/cpp/environment/tests/logging_unittest.cc#newcode432 mojo/public/cpp/environment/tests/logging_unittest.cc:432: // |MOJO_DCHECK()| should compile (but not evaluate) its condition ...
6 years, 5 months ago (2014-07-08 23:16:04 UTC) #8
Peter Kasting
https://codereview.chromium.org/372163005/diff/20001/mojo/public/cpp/environment/tests/logging_unittest.cc File mojo/public/cpp/environment/tests/logging_unittest.cc (right): https://codereview.chromium.org/372163005/diff/20001/mojo/public/cpp/environment/tests/logging_unittest.cc#newcode432 mojo/public/cpp/environment/tests/logging_unittest.cc:432: // |MOJO_DCHECK()| should compile (but not evaluate) its condition ...
6 years, 5 months ago (2014-07-08 23:59:54 UTC) #9
viettrungluu
LGTM. Thanks a lot for doing this!
6 years, 5 months ago (2014-07-09 00:41:29 UTC) #10
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 5 months ago (2014-07-09 00:45:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/372163005/60001
6 years, 5 months ago (2014-07-09 00:47:32 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-09 05:51:47 UTC) #13
Message was sent while issue was closed.
Change committed as 281964

Powered by Google App Engine
This is Rietveld 408576698