[compiler-rt] r371705 - [compiler-rt] cpplint of inc files in background

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 19:20:37 PDT 2019


Author: vitalybuka
Date: Wed Sep 11 19:20:37 2019
New Revision: 371705

URL: http://llvm.org/viewvc/llvm-project?rev=371705&view=rev
Log:
[compiler-rt] cpplint of inc files in background

Modified:
    compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh

Modified: compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh?rev=371705&r1=371704&r2=371705&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh (original)
+++ compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh Wed Sep 11 19:20:37 2019
@@ -124,10 +124,12 @@ run_lint ${SCUDO_RTL_LINT_FILTER} ${SCUD
                                   ${SCUDO_RTL}/*.h &
 
 # Misc files
+(
 rsync -a --prune-empty-dirs --exclude='*/profile/*' --exclude='*/builtins/*' --exclude='*/xray/*' --include='*/' --include='*.inc' --exclude='*' "${COMPILER_RT}/" "${MKTEMP_DIR}/"
 find ${MKTEMP_DIR} -type f -name '*.inc' -exec mv {} {}.cpp \;
 ( ERROR_LOG=${ERROR_LOG}.inc run_lint ${COMMON_RTL_INC_LINT_FILTER} $(find ${MKTEMP_DIR} -type f -name '*.inc.cpp') )
 sed "s|${MKTEMP_DIR}|${COMPILER_RT}|g" ${ERROR_LOG}.inc | sed "s|.inc.cpp|.inc|g" >> ${ERROR_LOG}
+) &
 
 wait
 




More information about the llvm-commits mailing list