summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mike Frysinger <vapier@google.com> 2025-02-13 15:53:48 -0500
committer Stefano Cianciulli <scianciulli@google.com> 2025-03-11 03:28:46 -0700
commit9f360eb65f3d191fd24c5864cb43628e5e3078e7 (patch)
treec13a541da61ef293d75492d4e9370c24113ca45d
parent89ef1aee4b1b34cd5a0ac1aafeeb1d297602e0e5 (diff)
cpplint: disable new categories for upgrade preparation
We're updating cpplint to 2.0.0 which triggers a bunch of warnings here. Disable them until someone can clean things up. Bug: 399719956 Test: parallel ../tools/repohooks/tools/cpplint.py --quiet -- `find -name '*.cc' -o -name '*.h'` (cherry picked from https://android-review.googlesource.com/q/commit:ce10dc6fbdeaef31f0e7ff6e80e0678cb3e13e94) Merged-In: I4b8dc957c3e76d529ac7e506311763a6393a35df Change-Id: I4b8dc957c3e76d529ac7e506311763a6393a35df
-rw-r--r--CPPLINT.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/CPPLINT.cfg b/CPPLINT.cfg
index 83288421e2..27feb34455 100644
--- a/CPPLINT.cfg
+++ b/CPPLINT.cfg
@@ -26,8 +26,15 @@ linelength=100
# Ignore the following categories of errors, as specified by the filter:
# (the filter settings are concatenated together)
filter=-build/c++11
+filter=-build/c++17
filter=-build/include
filter=-readability/function,-readability/streams,-readability/todo
filter=-runtime/printf,-runtime/references,-runtime/sizeof,-runtime/threadsafe_fn
# TODO: this should be re-enabled.
filter=-whitespace/line_length
+filter=-whitespace/braces
+filter=-whitespace/indent_namespace
+filter=-whitespace/newline
+filter=-readability/casting
+# TODO: https://github.com/cpplint/cpplint/issues/298
+filter=-readability/nolint