From 85c8e7f788512ce5b5b43cd816e8091b57c3d5e7 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 21 Nov 2016 13:50:32 -0500 Subject: Fixup lint flags. The -build/include setting was masking out build/include_what_you_use. This CL restores them, fixes any build errors, and adds NOLINT as needed. As well, the runtime/explicit and runtime/printf flags are aslo enabled and NOLINT'd. lint cleanups Change-Id: Ib013b3eb29c8d0e48cad74c5df9028684130719f Reviewed-on: https://pdfium-review.googlesource.com/2030 Reviewed-by: Tom Sepez --- xfa/fxbarcode/BC_Library.cpp | 2 ++ xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h | 2 +- xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'xfa/fxbarcode') diff --git a/xfa/fxbarcode/BC_Library.cpp b/xfa/fxbarcode/BC_Library.cpp index b0b4186735..075bc2247d 100644 --- a/xfa/fxbarcode/BC_Library.cpp +++ b/xfa/fxbarcode/BC_Library.cpp @@ -4,6 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#include "xfa/fxbarcode/BC_Library.h" + #include #include "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h" diff --git a/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h b/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h index 34e94fb0fd..b71cfb4c06 100644 --- a/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h +++ b/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h @@ -14,7 +14,7 @@ class CBC_ReedSolomonGF256Poly; class CBC_ReedSolomonEncoder { public: - CBC_ReedSolomonEncoder(CBC_ReedSolomonGF256* field); + explicit CBC_ReedSolomonEncoder(CBC_ReedSolomonGF256* field); virtual ~CBC_ReedSolomonEncoder(); void Encode(CFX_Int32Array* toEncode, int32_t ecBytes, int32_t& e); diff --git a/xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h b/xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h index 802a49cb5e..90e76ac50a 100644 --- a/xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h +++ b/xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h @@ -11,7 +11,7 @@ class CBC_BarcodeRow { public: - CBC_BarcodeRow(int32_t width); + explicit CBC_BarcodeRow(int32_t width); virtual ~CBC_BarcodeRow(); void set(int32_t x, uint8_t value); -- cgit v1.2.3