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

Issue 397453004: Mojo: Correctly handle large unsigned integer literals. (Closed)

Created:
6 years, 5 months ago by Sam McNally
Modified:
6 years, 5 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, chrome-apps-syd-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Mojo: Correctly handle large unsigned integer literals. This adds U suffixes to literals for unsigned int types in C++. For Java, because integer literals >= 2 ** 63 are not allowed, such values are transformed to the equivalent 64 bit signed value. BUG=375522 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283487

Patch Set 1 : #

Patch Set 2 : add a missing L #

Total comments: 5

Patch Set 3 : ULL #

Messages

Total messages: 6 (0 generated)
Sam McNally
6 years, 5 months ago (2014-07-15 08:48:51 UTC) #1
viettrungluu
Thanks. LGTM w/questions. https://codereview.chromium.org/397453004/diff/40001/mojo/apps/js/bindings/sample_service_unittests.js File mojo/apps/js/bindings/sample_service_unittests.js (right): https://codereview.chromium.org/397453004/diff/40001/mojo/apps/js/bindings/sample_service_unittests.js#newcode109 mojo/apps/js/bindings/sample_service_unittests.js:109: // JS doesn't have a 64 ...
6 years, 5 months ago (2014-07-15 16:08:27 UTC) #2
Sam McNally
https://codereview.chromium.org/397453004/diff/40001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/397453004/diff/40001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode37 mojo/public/tools/bindings/generators/mojom_cpp_generator.py:37: mojom.UINT64: "U", On 2014/07/15 16:08:26, viettrungluu wrote: > Maybe ...
6 years, 5 months ago (2014-07-16 01:20:18 UTC) #3
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 5 months ago (2014-07-16 01:39:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/397453004/60001
6 years, 5 months ago (2014-07-16 01:43:34 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 20:32:47 UTC) #6
Message was sent while issue was closed.
Change committed as 283487

Powered by Google App Engine
This is Rietveld 408576698