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

Issue 469393002: Mojo: clang-format mojo/public/c/... and add a presubmit check. (Closed)

Created:
6 years, 4 months ago by viettrungluu
Modified:
6 years, 4 months ago
Reviewers:
jamesr
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
Project:
chromium
Visibility:
Public.

Description

Mojo: clang-format mojo/public/c/... and add a presubmit check. Note: clang-format misformats some C-style casts (in the C-compilable parts of header files; e.g., it formats |(Foo)-5| as |(Foo) - 5|), but I can live with that. R=jamesr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289669

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -196 lines) Patch
A + mojo/public/c/PRESUBMIT.py View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/c/environment/logger.h View 1 chunk +5 lines, -5 lines 0 comments Download
M mojo/public/c/system/buffer.h View 5 chunks +6 lines, -6 lines 0 comments Download
M mojo/public/c/system/data_pipe.h View 10 chunks +37 lines, -38 lines 0 comments Download
M mojo/public/c/system/macros.h View 2 chunks +6 lines, -3 lines 0 comments Download
M mojo/public/c/system/message_pipe.h View 6 chunks +20 lines, -20 lines 0 comments Download
M mojo/public/c/system/tests/core_perftest.cc View 11 chunks +42 lines, -40 lines 0 comments Download
M mojo/public/c/system/tests/core_unittest.cc View 11 chunks +39 lines, -35 lines 0 comments Download
M mojo/public/c/system/tests/core_unittest_pure_c.c View 4 chunks +28 lines, -20 lines 0 comments Download
M mojo/public/c/system/tests/macros_unittest.cc View 1 chunk +10 lines, -4 lines 0 comments Download
M mojo/public/c/system/types.h View 4 chunks +23 lines, -23 lines 0 comments Download
M mojo/system/PRESUBMIT.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
viettrungluu
6 years, 4 months ago (2014-08-14 17:19:44 UTC) #1
jamesr
lgtm
6 years, 4 months ago (2014-08-14 17:29:37 UTC) #2
viettrungluu
6 years, 4 months ago (2014-08-14 19:36:33 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as 289669 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698