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

Issue 1773733002: Review and cleanup lint warnings. (Closed)

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

Description

Review and cleanup lint warnings. This CL goes through the remaining list of list warnings and records why they are currently blacklisted, or fixes and enables them. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/3ebd121d45ceb08918a3dcb5b3b7ac29448c862f

Patch Set 1 #

Total comments: 67

Patch Set 2 : Rebase to master #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -249 lines) Patch
M PRESUBMIT.py View 1 2 1 chunk +11 lines, -7 lines 0 comments Download
M core/include/fpdfapi/fpdf_objects.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M core/include/fxcrt/fx_system.h View 3 chunks +5 lines, -2 lines 0 comments Download
M core/include/fxge/fx_ge.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_objects_unittest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M core/src/fpdfdoc/doc_action.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fpdfdoc/doc_form.cpp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M core/src/fpdfdoc/doc_link.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fpdfdoc/doc_tagged.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fpdfdoc/doc_utils.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/src/fxcodec/codec/codec_int.h View 1 chunk +1 line, -0 lines 0 comments Download
M core/src/fxcodec/codec/fx_codec_jbig.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fxcrt/fx_basic_bstring.cpp View 1 2 3 chunks +11 lines, -11 lines 0 comments Download
M core/src/fxcrt/fx_basic_gcc.cpp View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M core/src/fxcrt/fx_basic_wstring.cpp View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
M core/src/fxcrt/fx_system_unittest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/src/fxcrt/fx_xml_parser.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fxge/win32/fx_win32_gdipext.cpp View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M core/src/fxge/win32/fx_win32_print.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M core/src/fxge/win32/win32_int.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/include/formfiller/FFL_FormFiller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h View 1 chunk +9 lines, -15 lines 0 comments Download
M fpdfsdk/include/fsdk_annothandler.h View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/include/fx_systemhandler.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/include/fxedit/fx_edit.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/include/fxedit/fxet_list.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/include/jsapi/fxjs_v8.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M fpdfsdk/include/pdfwindow/PWL_ComboBox.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/include/pdfwindow/PWL_ListBox.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/include/pdfwindow/PWL_Note.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/include/pdfwindow/PWL_Signature.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/src/fpdfdoc_embeddertest.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/fpdfppo.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/fpdfsave.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp View 1 2 3 4 4 chunks +3 lines, -5 lines 0 comments Download
M fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/src/fsdk_actionhandler.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/src/fsdk_annothandler.cpp View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M fpdfsdk/src/fsdk_baseform.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/src/fsdk_mgr.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/fxedit/fxet_list.cpp View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M fpdfsdk/src/javascript/Document.h View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/src/javascript/Document.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/src/javascript/Field.h View 1 chunk +2 lines, -1 line 0 comments Download
M fpdfsdk/src/javascript/Field.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Define.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M fpdfsdk/src/javascript/JS_Runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Value.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M fpdfsdk/src/javascript/JS_Value.cpp View 1 2 3 4 chunks +8 lines, -6 lines 0 comments Download
M fpdfsdk/src/javascript/PublicMethods.h View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/src/javascript/PublicMethods.cpp View 1 2 3 4 chunks +12 lines, -11 lines 0 comments Download
M fpdfsdk/src/javascript/app.h View 1 chunk +2 lines, -3 lines 0 comments Download
M fpdfsdk/src/javascript/app.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M fpdfsdk/src/javascript/color.h View 1 chunk +3 lines, -1 line 0 comments Download
M fpdfsdk/src/javascript/color.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/javascript/console.h View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/javascript/console.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/javascript/global.h View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/src/javascript/global.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/javascript/report.h View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/javascript/report.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/javascript/util.h View 1 chunk +2 lines, -1 line 0 comments Download
M fpdfsdk/src/javascript/util.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/src/jsapi/fxjs_v8.cpp View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_Edit.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_ListBox.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_Note.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_Signature.cpp View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M public/fpdf_dataavail.h View 1 chunk +3 lines, -1 line 0 comments Download
M public/fpdf_doc.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M public/fpdf_formfill.h View 1 2 6 chunks +24 lines, -6 lines 0 comments Download
M public/fpdfview.h View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M testing/test_support.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M testing/utils/path_service.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/src/fdp/src/css/fde_csscache.h View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/src/fdp/src/css/fde_cssstyleselector.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/src/fgas/src/crt/fx_algorithm.cpp View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M xfa/src/fwl/basewidget/fwl_editimp.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M xfa/src/fwl/lightwidget/edit.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h View 1 chunk +11 lines, -11 lines 0 comments Download
M xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M xfa/src/fxbarcode/oned/BC_OneDReader.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OneDReader.cpp View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OneDimReader.h View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OneDimReader.cpp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h View 1 2 1 chunk +20 lines, -18 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OnedCode128Reader.cpp View 1 2 2 chunks +2 lines, -16 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h View 1 chunk +5 lines, -5 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxbarcode/qrcode/BC_QRCoder.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h View 1 chunk +3 lines, -3 lines 0 comments Download
M xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h View 1 chunk +9 lines, -9 lines 0 comments Download
M xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h View 1 chunk +4 lines, -4 lines 0 comments Download
M xfa/src/fxfa/app/xfa_fftextedit.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/src/fxfa/app/xfa_fftextedit.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/src/fxfa/app/xfa_ffwidget.cpp View 1 2 chunks +3 lines, -1 line 0 comments Download
M xfa/src/fxfa/app/xfa_ffwidgethandler.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
dsinclair
PTAL.
4 years, 9 months ago (2016-03-07 19:36:00 UTC) #2
dsinclair
4 years, 9 months ago (2016-03-08 01:16:00 UTC) #4
Tom Sepez
Including <string> isn't the right fix for most of the string warnings, since <string> shouldn't ...
4 years, 9 months ago (2016-03-08 19:27:06 UTC) #5
dsinclair
PTAL. https://codereview.chromium.org/1773733002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/1773733002/diff/1/PRESUBMIT.py#newcode22 PRESUBMIT.py:22: # Need to fix pdfium:426 On 2016/03/08 19:27:04, ...
4 years, 9 months ago (2016-03-08 21:08:03 UTC) #6
Tom Sepez
lgtm https://codereview.chromium.org/1773733002/diff/1/core/src/fpdfdoc/doc_form.cpp File core/src/fpdfdoc/doc_form.cpp (right): https://codereview.chromium.org/1773733002/diff/1/core/src/fpdfdoc/doc_form.cpp#newcode7 core/src/fpdfdoc/doc_form.cpp:7: #include <vector> On 2016/03/08 21:08:01, dsinclair wrote: > ...
4 years, 9 months ago (2016-03-08 21:18:09 UTC) #7
dsinclair
4 years, 9 months ago (2016-03-09 14:59:29 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:20002) manually as
3ebd121d45ceb08918a3dcb5b3b7ac29448c862f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698