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

Issue 1130873007: net/dns: Fix the last warning found by chromium-style clang plugin on Windows. (Closed)

Created:
5 years, 7 months ago by Nico
Modified:
5 years, 7 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

net/dns: Fix the last warning found by chromium-style clang plugin on Windows. This fixes the following kind of warnings: warning(clang): [chromium-style] Complex class/struct needs an explicit out-of-line constructor. warning(clang): [chromium-style] Complex class/struct needs an explicit out-of-line destructor. http://build.chromium.org/p/chromium.fyi/builders/CrWinClang/builds/687/steps/compile/logs/stdio BUG=467287 Committed: https://crrev.com/916335e69a37c00a6b6b2e6d6f6230c1a26d28d5 Cr-Commit-Position: refs/heads/master@{#329074}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : msvc crash workaround #

Patch Set 4 : . #

Patch Set 5 : lol msvc #

Patch Set 6 : nicer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -50 lines) Patch
M net/dns/dns_config_service_win.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M net/dns/dns_config_service_win.cc View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M net/dns/dns_config_service_win_unittest.cc View 1 2 3 4 5 19 chunks +35 lines, -50 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
Nico
Not super great, but it's the last warning.
5 years, 7 months ago (2015-05-08 20:26:05 UTC) #2
Ryan Sleevi
lgtm
5 years, 7 months ago (2015-05-08 21:01:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130873007/20001
5 years, 7 months ago (2015-05-08 21:02:13 UTC) #5
Nico
e:\b\build\slave\win\build\src\net\dns\dns_config_service_win_unittest.cc(397) : fatal error C1001: An internal error has occurred in the compiler. O_o
5 years, 7 months ago (2015-05-08 21:19:32 UTC) #6
Nico
I added a somewhat ugly workaround for that MSVS bug (I also have a reduced ...
5 years, 7 months ago (2015-05-08 22:15:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130873007/40001
5 years, 7 months ago (2015-05-08 22:15:55 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_rel on ...
5 years, 7 months ago (2015-05-09 02:36:25 UTC) #12
Nico
The test failure seems to be a silent miscompile produced by cl.exe: C:\src\chromefetch\src>type test.cc #include ...
5 years, 7 months ago (2015-05-10 05:10:54 UTC) #13
Nico
I rewrote this to not use a move constructor to work around that compiler bug ...
5 years, 7 months ago (2015-05-10 05:28:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130873007/100001
5 years, 7 months ago (2015-05-10 05:29:43 UTC) #17
Nico
*"to not use a uniform initializer", not "to not use a move constructor" On Sat, ...
5 years, 7 months ago (2015-05-10 05:33:12 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_rel on ...
5 years, 7 months ago (2015-05-10 09:29:57 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130873007/100001
5 years, 7 months ago (2015-05-10 15:30:29 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-05-10 16:47:01 UTC) #23
commit-bot: I haz the power
5 years, 7 months ago (2015-05-10 16:48:53 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/916335e69a37c00a6b6b2e6d6f6230c1a26d28d5
Cr-Commit-Position: refs/heads/master@{#329074}

Powered by Google App Engine
This is Rietveld 408576698