forked from OSchip/llvm-project
				
			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:
		
							parent
							
								
									b10e003015
								
							
						
					
					
						commit
						00fb6c9da0
					
				| 
						 | 
					@ -17,7 +17,6 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Filters
 | 
					# Filters
 | 
				
			||||||
# TODO: remove some of these 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,\
 | 
					COMMON_LINT_FILTER=-build/include,-build/header_guard,-legal/copyright,-whitespace/comments,-readability/casting,\
 | 
				
			||||||
-build/namespaces
 | 
					-build/namespaces
 | 
				
			||||||
ASAN_RTL_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/int
 | 
					ASAN_RTL_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/int
 | 
				
			||||||
| 
						 | 
					@ -60,9 +59,6 @@ run_lint() {
 | 
				
			||||||
  ${LITLINT} "$@" 2>>$ERROR_LOG
 | 
					  ${LITLINT} "$@" 2>>$ERROR_LOG
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
run_lint ${LLVM_LINT_FILTER} --filter=${LLVM_LINT_FILTER} \
 | 
					 | 
				
			||||||
  lib/Transforms/Instrumentation/*Sanitizer.cpp &
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if [ "${COMPILER_RT}" = "" ]; then
 | 
					if [ "${COMPILER_RT}" = "" ]; then
 | 
				
			||||||
  COMPILER_RT=projects/compiler-rt
 | 
					  COMPILER_RT=projects/compiler-rt
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue