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

Issue 2227073002: cctest: put some types into anonymous namespace. (Closed)

Created:
4 years, 4 months ago by krasin
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

cctest: put some types into anonymous namespace. This is to prevent a collision with Expectations class defined in test-field-type-tracking.cc, which happens in Clang under certain conditions (official build + Precise + unknown). While the original intent was to just workaround the Clang bug, putting types into anonymous namespace seems reasonable anyway (thank you to Benedikt Meurer for the suggestion!) BUG=630335 Committed: https://crrev.com/a9b5eb0c5958c41691b779536c614866c9c901f0 Cr-Commit-Position: refs/heads/master@{#38552}

Patch Set 1 #

Total comments: 2

Patch Set 2 : cctest: put some types into anonymous namespace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M test/cctest/test-decls.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
krasin
4 years, 4 months ago (2016-08-09 16:32:25 UTC) #2
Nico
I'm not a v8 reviewer. machenbach, can you take a look or add a good ...
4 years, 4 months ago (2016-08-09 16:45:23 UTC) #4
Michael Achenbach
Adding V8 reviewers. PTAL
4 years, 4 months ago (2016-08-10 07:27:28 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/2227073002/diff/1/test/cctest/test-decls.cc File test/cctest/test-decls.cc (right): https://codereview.chromium.org/2227073002/diff/1/test/cctest/test-decls.cc#newcode39 test/cctest/test-decls.cc:39: // types: here and in test-field-type-tracking.cc, which makes the ...
4 years, 4 months ago (2016-08-10 08:09:33 UTC) #11
Michael Achenbach
On 2016/08/10 08:09:33, Benedikt Meurer wrote: > https://codereview.chromium.org/2227073002/diff/1/test/cctest/test-decls.cc > File test/cctest/test-decls.cc (right): > > https://codereview.chromium.org/2227073002/diff/1/test/cctest/test-decls.cc#newcode39 ...
4 years, 4 months ago (2016-08-10 08:35:52 UTC) #12
krasin
Please, take another look. While it's not guaranteed to work, it is much nicer and ...
4 years, 4 months ago (2016-08-10 16:19:34 UTC) #15
Benedikt Meurer
Thanks, LGTM.
4 years, 4 months ago (2016-08-10 16:41:05 UTC) #19
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/2227073002/20001
4 years, 4 months ago (2016-08-10 16:44:40 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-10 16:46:25 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 16:46:40 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a9b5eb0c5958c41691b779536c614866c9c901f0
Cr-Commit-Position: refs/heads/master@{#38552}

Powered by Google App Engine
This is Rietveld 408576698