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 --- PRESUBMIT.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'PRESUBMIT.py') diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 0f93697987..5ad2f545ae 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -12,19 +12,13 @@ LINT_FILTERS = [ # Rvalue ref checks are unreliable. '-build/c++11', # Need to fix header names not matching cpp names. - '-build/include', - # Need to fix header names not matching cpp names. '-build/include_order', # Too many to fix at the moment. '-readability/casting', # Need to refactor large methods to fix. '-readability/fn_size', - # Need to fix errors when making methods explicit. - '-runtime/explicit', # Lots of usage to fix first. '-runtime/int', - # Need to fix two snprintf TODOs - '-runtime/printf', # Lots of non-const references need to be fixed '-runtime/references', # We are not thread safe, so this will never pass. -- cgit v1.2.3