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

Issue 1060683002: Update clang, re-enable checker, fix issues it flags (Closed)

Created:
5 years, 8 months ago by jamesr
Modified:
5 years, 8 months ago
Reviewers:
DaveMoore, viettrungluu
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Update clang, re-enable checker, fix issues it flags The chromium roll cc0e4f9d4e73866f10c47b46f2a369df4fd24ce9 included an update to the clang plugin that had stricter checks for inline virtual destructors that were incompatible with parts of the SDK. Thus the roll disabled the checker completely with the idea it could be re-enabled when the checker's behavior was fixed. The checker itself was fixed a few days later but the plugin was left disabled. This rolls to a newer clang (the one Chromium is currently using) which includes the updated checker and fixes the things that have crept in since the checker was disabled. R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/de15f81b89384ee6655506fbdd0873aa9b1bf7c0

Patch Set 1 #

Total comments: 18
Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -78 lines) Patch
M build/config/clang/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
D mojo/tools/roll/disable_find_bad_constructs.patch View 1 chunk +0 lines, -18 lines 0 comments Download
M services/files/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/files/c/BUILD.gn View 2 chunks +4 lines, -0 lines 0 comments Download
M services/files/c/lib/real_errno_impl.h View 1 chunk +2 lines, -2 lines 1 comment Download
A services/files/c/lib/real_errno_impl.cc View 1 chunk +15 lines, -0 lines 2 comments Download
M services/files/c/tests/fd_table_unittest.cc View 1 chunk +2 lines, -2 lines 2 comments Download
M services/files/c/tests/mock_errno_impl.h View 1 chunk +2 lines, -5 lines 0 comments Download
A services/files/c/tests/mock_errno_impl.cc View 1 chunk +20 lines, -0 lines 0 comments Download
M services/files/c/tests/mojio_impl_test_base.h View 1 chunk +3 lines, -14 lines 6 comments Download
A services/files/c/tests/mojio_impl_test_base.cc View 1 chunk +29 lines, -0 lines 1 comment Download
M services/files/c/tests/mojio_test_base.h View 1 chunk +2 lines, -18 lines 2 comments Download
A services/files/c/tests/mojio_test_base.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M services/files/file_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M services/files/files_test_base.h View 1 chunk +4 lines, -13 lines 3 comments Download
A services/files/files_test_base.cc View 1 chunk +29 lines, -0 lines 1 comment Download
M services/native_viewport/native_viewport_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M services/reaper/reaper_binding.h View 1 chunk +1 line, -1 line 0 comments Download
M services/reaper/reaper_binding.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M services/reaper/transfer_binding.h View 1 chunk +1 line, -1 line 0 comments Download
M services/reaper/transfer_binding.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M shell/child_process_host.h View 1 chunk +1 line, -1 line 0 comments Download
M tools/clang/scripts/update.sh View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
jamesr
5 years, 8 months ago (2015-04-03 19:21:51 UTC) #2
viettrungluu
I thought that there was test headers were excluded from some checks.... :-/ https://codereview.chromium.org/1060683002/diff/1/services/files/c/lib/real_errno_impl.cc File ...
5 years, 8 months ago (2015-04-03 19:45:32 UTC) #3
viettrungluu
(also, you can take that as an lgtm w/nits, since I'm not actually working today)
5 years, 8 months ago (2015-04-03 19:48:23 UTC) #4
jamesr
Thanks. Dave's also on vacation right now so I'll go ahead and land. https://codereview.chromium.org/1060683002/diff/1/services/files/c/tests/fd_table_unittest.cc File ...
5 years, 8 months ago (2015-04-03 20:21:59 UTC) #5
jamesr
5 years, 8 months ago (2015-04-03 20:22:23 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
de15f81b89384ee6655506fbdd0873aa9b1bf7c0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698