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

Issue 2769283002: Enable noexcept on Windows, use for a few move constructors. (Closed)

Created:
3 years, 9 months ago by brettw
Modified:
3 years, 9 months ago
Reviewers:
scottmg
CC:
chromium-reviews, Dirk Pranke, agrieve+watch_chromium.org, tfarina, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable noexcept on Windows, use for a few move constructors. MSVC complains if you use noexcept with no exception handling mode specified (as we do). This code disables the warning. noexcept on move constructors allows better optimizations in some cases. http://en.cppreference.com/w/cpp/language/noexcept_spec Updates a few common classes' move constructors to use this. Reland of https://codereview.chromium.org/2771643002 with landmine. There were some reports of PCH headers not getting updated and the warning change no taking effect. I investigated briefly but could not see why PCH dependencies are incorrect. Review-Url: https://codereview.chromium.org/2769283002 Cr-Commit-Position: refs/heads/master@{#459455} Committed: https://chromium.googlesource.com/chromium/src/+/f78cc27d15ccbd1fd0c5c93aa03b939cd89b9b89

Patch Set 1 : Original landing #

Patch Set 2 : Landmine #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -22 lines) Patch
M base/android/jni_weak_ref.h View 1 chunk +1 line, -1 line 0 comments Download
M base/android/jni_weak_ref.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/values.h View 1 chunk +1 line, -1 line 0 comments Download
M base/values.cc View 1 chunk +1 line, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 3 chunks +11 lines, -13 lines 0 comments Download
M build/get_landmines.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M tools/gn/value.h View 1 chunk +1 line, -1 line 0 comments Download
M tools/gn/value.cc View 1 chunk +1 line, -1 line 0 comments Download
M url/gurl.h View 1 chunk +1 line, -1 line 0 comments Download
M url/gurl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
brettw
Landmine
3 years, 9 months ago (2017-03-23 19:58:49 UTC) #1
brettw
I'll land this evening so I don't clobber the bots during the busy time.
3 years, 9 months ago (2017-03-23 19:59:35 UTC) #3
scottmg
lgtm
3 years, 9 months ago (2017-03-23 20:02:38 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.chromium.org/2769283002/20001
3 years, 9 months ago (2017-03-24 05:03:00 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/390481)
3 years, 9 months ago (2017-03-24 06:44:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2769283002/20001
3 years, 9 months ago (2017-03-24 14:58:32 UTC) #10
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 16:37:34 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f78cc27d15ccbd1fd0c5c93aa03b...

Powered by Google App Engine
This is Rietveld 408576698