diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-03-04 21:38:10 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-03-04 21:38:10 +0000 |
commit | 7bee9be31cc1da5b2e5330fdb0fd7f05565f9966 (patch) | |
tree | 0396c77f19da326db771d7c4c78c5c337889e140 | |
parent | b9c1633f7afe3b4b76c67bde2442316b3ee0e9ec (diff) |
Exclude LLVM sources from lint check.
Checking files from different repository is not nice, and LLVM code
follows its own style guide anyway.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@231289 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | lib/sanitizer_common/scripts/check_lint.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sanitizer_common/scripts/check_lint.sh b/lib/sanitizer_common/scripts/check_lint.sh index 7ed05d735..9108a81e2 100755 --- a/lib/sanitizer_common/scripts/check_lint.sh +++ b/lib/sanitizer_common/scripts/check_lint.sh @@ -17,7 +17,6 @@ fi # Filters # TODO: remove some of these filters -LLVM_LINT_FILTER=-,+whitespace COMMON_LINT_FILTER=-build/include,-build/header_guard,-legal/copyright,-whitespace/comments,-readability/casting,\ -build/namespaces ASAN_RTL_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/int @@ -60,9 +59,6 @@ run_lint() { ${LITLINT} "$@" 2>>$ERROR_LOG } -run_lint ${LLVM_LINT_FILTER} --filter=${LLVM_LINT_FILTER} \ - lib/Transforms/Instrumentation/*Sanitizer.cpp & - if [ "${COMPILER_RT}" = "" ]; then COMPILER_RT=projects/compiler-rt fi |