未验证 提交 9f397f16 编写于 作者: S Sing_chan 提交者: GitHub

filter whitespace/parent since clang-format has similar function (#43978)

上级 7499f961
...@@ -24,7 +24,7 @@ for file in $files; do ...@@ -24,7 +24,7 @@ for file in $files; do
if [[ $file =~ ^(patches/.*) ]]; then if [[ $file =~ ^(patches/.*) ]]; then
continue; continue;
else else
cpplint --filter=-readability/fn_size,-build/include_what_you_use,-build/c++11 $file; cpplint --filter=-readability/fn_size,-build/include_what_you_use,-build/c++11,-whitespace/parens $file;
TOTAL_ERRORS=$(expr $TOTAL_ERRORS + $?); TOTAL_ERRORS=$(expr $TOTAL_ERRORS + $?);
fi fi
done done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册