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

Issue 615923004: Convert COMPILE_ASSERT to static_assert (Closed)

Created:
6 years, 2 months ago by scottmg
Modified:
6 years, 2 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Convert COMPILE_ASSERT to static_assert (Perhaps I should have just left it in mini_chromium, but anyway.) R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/d198c50abe9bf2132d2e65f814cf9d0d48e49cc0

Patch Set 1 #

Total comments: 21

Patch Set 2 : fixes #

Patch Set 3 : missing include #

Total comments: 4

Patch Set 4 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -70 lines) Patch
M client/simple_string_dictionary.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M crashpad.doxy View 1 chunk +1 line, -2 lines 0 comments Download
M minidump/minidump_system_info_writer.cc View 1 2 3 3 chunks +6 lines, -7 lines 0 comments Download
M util/file/file_writer.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download
M util/file/string_file_writer_test.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M util/mac/mach_o_image_reader.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M util/mac/mach_o_image_segment_reader.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M util/mach/exc_server_variants_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M util/mach/mach_message_server_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M util/mach/symbolic_constants_mach.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M util/misc/uuid.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M util/numeric/checked_range.h View 1 chunk +2 lines, -2 lines 0 comments Download
M util/numeric/int128.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M util/numeric/int128_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M util/posix/symbolic_constants_posix.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M util/stdlib/string_number_conversion.cc View 1 2 3 4 chunks +28 lines, -29 lines 0 comments Download
M util/stdlib/strlcpy_test.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M util/test/multiprocess_exec.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
scottmg
6 years, 2 months ago (2014-09-30 23:10:53 UTC) #1
Mark Mentovai
util/stdlib/strlcpy_test.cc also needs #include "base/basictypes.h" for its use of arraysize. It was previously picking it ...
6 years, 2 months ago (2014-10-01 03:55:13 UTC) #2
scottmg
Yeesh, sorry. I'll set up a Mac before I send any more. Thanks for the ...
6 years, 2 months ago (2014-10-01 04:03:40 UTC) #3
scottmg
https://codereview.chromium.org/615923004/diff/1/client/simple_string_dictionary.cc File client/simple_string_dictionary.cc (right): https://codereview.chromium.org/615923004/diff/1/client/simple_string_dictionary.cc#newcode17 client/simple_string_dictionary.cc:17: #include "base/basictypes.h" On 2014/10/01 03:55:12, Mark Mentovai wrote: > ...
6 years, 2 months ago (2014-10-01 16:37:19 UTC) #4
Mark Mentovai
LGTM. Thanks! https://codereview.chromium.org/615923004/diff/1/util/numeric/int128.h File util/numeric/int128.h (right): https://codereview.chromium.org/615923004/diff/1/util/numeric/int128.h#newcode20 util/numeric/int128.h:20: #include "base/basictypes.h" scottmg wrote: > On 2014/10/01 ...
6 years, 2 months ago (2014-10-01 18:57:56 UTC) #5
scottmg
Thanks https://codereview.chromium.org/615923004/diff/40001/minidump/minidump_system_info_writer.cc File minidump/minidump_system_info_writer.cc (right): https://codereview.chromium.org/615923004/diff/40001/minidump/minidump_system_info_writer.cc#newcode51 minidump/minidump_system_info_writer.cc:51: "vendor id must have 3 elements"); On 2014/10/01 ...
6 years, 2 months ago (2014-10-01 19:27:40 UTC) #6
scottmg
6 years, 2 months ago (2014-10-01 19:29:05 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
d198c50abe9bf2132d2e65f814cf9d0d48e49cc0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698