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

Issue 279833002: Fix compile error if both inline and reference enums are used in a type. (Closed)

Created:
6 years, 7 months ago by wjywbs
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix compile error if both inline and reference enums are used in a type. The ToString() overloading function of inline and reference enums will conflict because they exist in both global namespace and local classes. This patch chooses the correct ToString() function in different namespaces. R=kalman@chromium.org BUG=371042 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269969

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -13 lines) Patch
M tools/json_schema_compiler/cc_generator.py View 3 chunks +6 lines, -11 lines 0 comments Download
M tools/json_schema_compiler/h_generator.py View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
wjywbs
I put the detail in the bug. I'm wondering if I should revert the previous ...
6 years, 7 months ago (2014-05-09 13:35:39 UTC) #1
not at google - send to devlin
lgtm, that makes sense.
6 years, 7 months ago (2014-05-12 21:49:09 UTC) #2
wjywbs
The CQ bit was checked by wjywbs@gmail.com
6 years, 7 months ago (2014-05-12 21:55:42 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjywbs@gmail.com/279833002/1
6 years, 7 months ago (2014-05-12 21:57:22 UTC) #4
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 02:15:40 UTC) #5
Message was sent while issue was closed.
Change committed as 269969

Powered by Google App Engine
This is Rietveld 408576698