Exclude LLVM sources from lint check.

Checking files from different repository is not nice, and LLVM code
follows its own style guide anyway.

llvm-svn: 231289
This commit is contained in:
Alexey Samsonov 2015-03-04 21:38:10 +00:00
parent b10e003015
commit 00fb6c9da0
1 changed files with 0 additions and 4 deletions

View File

@ -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