summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-06-02 21:32:04 +0000
committerKostya Serebryany <kcc@google.com>2017-06-02 21:32:04 +0000
commitad272b0861a9cc2871bf9e1daddfb61cca13a6f0 (patch)
tree01ae0115941390cf13fd136695b5da2897c4cad4 /compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
parent6aeacaa5277312126c7ec1a31ceb0e1249738f59 (diff)
downloadbcm5719-llvm-ad272b0861a9cc2871bf9e1daddfb61cca13a6f0.tar.gz
bcm5719-llvm-ad272b0861a9cc2871bf9e1daddfb61cca13a6f0.zip
[asan] fix one more case where stack-use-after-return is not async-signal-safe (during thread startup). beef-up the test to give it a chance to catch regressions. Also relax the lint to make C++11 more usable.
llvm-svn: 304598
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/scripts/check_lint.sh')
-rwxr-xr-xcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
index 9108a81e26c..82e4bc84d59 100755
--- a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
+++ b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
@@ -18,7 +18,7 @@ fi
# Filters
# TODO: remove some of these filters
COMMON_LINT_FILTER=-build/include,-build/header_guard,-legal/copyright,-whitespace/comments,-readability/casting,\
--build/namespaces
+-build/namespaces,-readability/braces
ASAN_RTL_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/int
ASAN_TEST_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/sizeof,-runtime/int,-runtime/printf,-runtime/threadsafe_fn
ASAN_LIT_TEST_LINT_FILTER=${ASAN_TEST_LINT_FILTER},-whitespace/line_length
OpenPOWER on IntegriCloud