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

Issue 2525633002: VM: Enforce correctly formatted C++ code (Closed)

Created:
4 years, 1 month ago by kustermann
Modified:
4 years ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Kevin Millikin (Google)
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Enforce correctly formatted C++ code Currently the presubmit script for 'git cl upload' will just warn the developer that code is incorrectly formatted and asks whether to proceed. This makes developers sometimes just ignore the warning and upload incorrectly formatted C++ code. This causes incorrectly formatted code to be committed to the repository and will cause a presubmit warning/question for all developers afterwards. This CL will therefore turn the warning into an error to ensure our c++ code is always correctly formatted. R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/554c3c9683264ab9840a2c2371942b5a9f5e1fae

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M runtime/PRESUBMIT.py View 1 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
kustermann
4 years, 1 month ago (2016-11-22 13:16:31 UTC) #2
Cutch
On 2016/11/22 13:16:31, kustermann wrote: I also don't like the current behaviour but I have ...
4 years, 1 month ago (2016-11-22 17:19:15 UTC) #3
kustermann
On 2016/11/22 17:19:15, Cutch wrote: > On 2016/11/22 13:16:31, kustermann wrote: > > I also ...
4 years, 1 month ago (2016-11-23 08:05:05 UTC) #4
zra
I agree with Martin that committing the changes automatically would be a little surprising. Why ...
4 years ago (2016-11-27 04:04:55 UTC) #5
kustermann
ptal https://codereview.chromium.org/2525633002/diff/1/runtime/PRESUBMIT.py File runtime/PRESUBMIT.py (right): https://codereview.chromium.org/2525633002/diff/1/runtime/PRESUBMIT.py#newcode58 runtime/PRESUBMIT.py:58: messages = stream.getvalue().split('\n') On 2016/11/27 04:04:55, zra wrote: ...
4 years ago (2016-11-30 21:40:33 UTC) #6
zra
lgtm
4 years ago (2016-11-30 21:44:55 UTC) #7
kustermann
4 years ago (2016-11-30 22:53:00 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
554c3c9683264ab9840a2c2371942b5a9f5e1fae (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698