From f7473610c8da260dd106b69ba32c831b894e1a04 Mon Sep 17 00:00:00 2001 From: "iposva@chromium.org" Date: Thu, 9 Apr 2009 20:07:30 +0000 Subject: [PATCH] - Exclude "build/include_what_you_use" from cpplint.py filters. Review URL: http://codereview.chromium.org/65017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1688 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- tools/presubmit.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/presubmit.py b/tools/presubmit.py index 27a3f2c..3e714de 100755 --- a/tools/presubmit.py +++ b/tools/presubmit.py @@ -35,6 +35,9 @@ import re import sys import subprocess +# Disabled LINT rules and reason. +# build/include_what_you_use: Started giving false positives for variables +# named "string" and "map" assuming that you needed to include STL headers. ENABLED_LINT_RULES = """ build/class @@ -42,7 +45,6 @@ build/deprecated build/endif_comment build/forward_decl build/include_order -build/include_what_you_use build/printf_format build/storage_class legal/copyright -- 2.7.4