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

Issue 613143004: Changes to ALLOW_UNUSED to match upcoming changes to the Chromium trunk: (Closed)

Created:
6 years, 2 months ago by Peter Kasting
Modified:
6 years, 2 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Changes to ALLOW_UNUSED to match upcoming changes to the Chromium trunk: * Eliminate usage of ALLOW_UNUSED to define COMPILE_ASSERT and just use static_assert() in all cases now that all platforms build with C++11. * Convert remaining uses of ALLOW_UNUSED to ALLOW_UNUSED_TYPE to match how Chromium will be splitting this functionality. (In Chromium we'll have both ALLOW_UNUSED_TYPE and ALLOW_UNUSED_LOCAL, which have different syntax to enable us to use these with MSVC.) BUG=chromium:81439 TEST=none LOG=y R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24344

Patch Set 1 #

Patch Set 2 : Restore COMPILE_ASSERT #

Patch Set 3 : Missed one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -34 lines) Patch
M src/base/compiler-specific.h View 1 chunk +4 lines, -6 lines 0 comments Download
M src/base/flags.h View 1 chunk +13 lines, -12 lines 0 comments Download
M src/base/macros.h View 1 2 3 chunks +4 lines, -16 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Peter Kasting
6 years, 2 months ago (2014-09-30 18:43:23 UTC) #2
Jakob Kummerow
DBC: I'm not sure V8 is ready to drop pre-C++11 support, for the benefit of ...
6 years, 2 months ago (2014-09-30 19:47:15 UTC) #3
Peter Kasting
On 2014/09/30 19:47:15, Jakob wrote: > DBC: I'm not sure V8 is ready to drop ...
6 years, 2 months ago (2014-10-01 02:18:47 UTC) #4
Sven Panne
LGTM. Regarding the other comments: We will not introduce some kind of grace period for ...
6 years, 2 months ago (2014-10-01 06:21:23 UTC) #6
Sven Panne
6 years, 2 months ago (2014-10-01 06:32:17 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 24344 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698