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

Issue 1272653005: clang-format all pdfium code, again. (Closed)

Created:
5 years, 4 months ago by Nico
Modified:
5 years, 4 months ago
Reviewers:
Tom Sepez, Lei Zhang
CC:
pdfium-reviews_googlegroups.com, jun_fang
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

clang-format all pdfium code, again. Also add a presubmit that checks for this so I don't have to keep doing it. No behavior change. Generated by: find . -name '*.cpp' -o -name '*.h' | \ grep -E -v 'third_party|thirdparties|lpng_v163' | \ xargs ../../buildtools/mac/clang-format -i BUG=none R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/4684c83a4e9114a63c64744064dd190e4d459c6f

Patch Set 1 #

Total comments: 6

Patch Set 2 : comments #

Patch Set 3 : . #

Total comments: 5

Patch Set 4 : ozone #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -184 lines) Patch
A PRESUBMIT.py View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 6 chunks +20 lines, -17 lines 0 comments Download
M core/src/fxcrt/extension.h View 3 chunks +5 lines, -16 lines 0 comments Download
M core/src/fxge/ge/text_int.h View 1 chunk +4 lines, -2 lines 0 comments Download
M fpdfsdk/include/fsdk_baseform.h View 1 chunk +11 lines, -11 lines 0 comments Download
M fpdfsdk/include/fxedit/fxet_list.h View 1 chunk +4 lines, -4 lines 0 comments Download
M fpdfsdk/include/javascript/JS_Define.h View 1 chunk +3 lines, -3 lines 0 comments Download
M fpdfsdk/include/javascript/app.h View 1 3 chunks +0 lines, -86 lines 0 comments Download
M fpdfsdk/include/pdfwindow/PWL_Wnd.h View 1 chunk +21 lines, -21 lines 0 comments Download
M fpdfsdk/src/fpdfview.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M fpdfsdk/src/fsdk_baseform.cpp View 1 2 5 chunks +2 lines, -15 lines 0 comments Download
M fpdfsdk/src/fxedit/fxet_ap.cpp View 1 1 chunk +0 lines, -5 lines 0 comments Download
M fpdfsdk/src/javascript/app.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_ListBox.cpp View 1 chunk +1 line, -1 line 0 comments Download
M public/fpdf_formfill.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Nico
https://codereview.chromium.org/1272653005/diff/1/fpdfsdk/include/javascript/app.h File fpdfsdk/include/javascript/app.h (right): https://codereview.chromium.org/1272653005/diff/1/fpdfsdk/include/javascript/app.h#newcode232 fpdfsdk/include/javascript/app.h:232: // void This looks like a clang-format misfunction. Why ...
5 years, 4 months ago (2015-08-06 20:58:49 UTC) #2
Lei Zhang
Did you forget to include the DEPS changes for the hook?
5 years, 4 months ago (2015-08-06 21:10:35 UTC) #3
Lei Zhang
https://codereview.chromium.org/1272653005/diff/1/fpdfsdk/include/javascript/app.h File fpdfsdk/include/javascript/app.h (right): https://codereview.chromium.org/1272653005/diff/1/fpdfsdk/include/javascript/app.h#newcode232 fpdfsdk/include/javascript/app.h:232: // void On 2015/08/06 20:58:49, Nico (hiding) wrote: > ...
5 years, 4 months ago (2015-08-06 21:12:04 UTC) #4
Nico
Now with PRESUBMIT.py added and a bunch of uncommented code removed. https://codereview.chromium.org/1272653005/diff/1/public/fpdf_formfill.h File public/fpdf_formfill.h (right): ...
5 years, 4 months ago (2015-08-06 21:16:09 UTC) #5
Lei Zhang
https://codereview.chromium.org/1272653005/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/1272653005/diff/40001/PRESUBMIT.py#newcode5 PRESUBMIT.py:5: """Presubmit script for ozone. not ozone https://codereview.chromium.org/1272653005/diff/40001/public/fpdf_formfill.h File public/fpdf_formfill.h ...
5 years, 4 months ago (2015-08-06 21:21:25 UTC) #6
Nico
Thanks! Filed https://llvm.org/bugs/show_bug.cgi?id=24385 for that one comment misformatting problem mentioned earlier. https://codereview.chromium.org/1272653005/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): ...
5 years, 4 months ago (2015-08-06 21:28:36 UTC) #7
Lei Zhang
lgtm https://codereview.chromium.org/1272653005/diff/40001/public/fpdf_formfill.h File public/fpdf_formfill.h (right): https://codereview.chromium.org/1272653005/diff/40001/public/fpdf_formfill.h#newcode772 public/fpdf_formfill.h:772: * Function: FORM_DoDocumentAAction On 2015/08/06 21:28:36, Nico (hiding) ...
5 years, 4 months ago (2015-08-06 21:30:40 UTC) #8
Nico
5 years, 4 months ago (2015-08-06 21:34:42 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
4684c83a4e9114a63c64744064dd190e4d459c6f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698