summaryrefslogtreecommitdiffstats
path: root/polly/utils
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2014-08-18 00:40:13 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2014-08-18 00:40:13 +0000
commit9e7b17b0d484861350c4b818697b81e1bc8ac96a (patch)
treefda45bea5b780281569a3c26e7f77b03e418dcc9 /polly/utils
parent6230691c9186e95cd19dff07074a54fb70719957 (diff)
downloadbcm5719-llvm-9e7b17b0d484861350c4b818697b81e1bc8ac96a.tar.gz
bcm5719-llvm-9e7b17b0d484861350c4b818697b81e1bc8ac96a.zip
Added arcanist linters and cleaned errors and warnings
Arcanist (arc) will now always run linters before uploading any new commit to Phabricator. All errors/warnings (or their absence) will be shown in the web interface together with a explanation by the commiter (arcanist will ask the commiter if the build was not clean). The linters include: - clang-format - spelling check - permissions check (aka. chmod) - filename check - merge conflict marker check Note, that their scope is sometimes limited (see .arclint for details). This commit also fixes all errors and warnings these linters reported, namely: - spelling mistakes and typos - executable permissions for various text files Differential Revision: http://reviews.llvm.org/D4916 llvm-svn: 215871
Diffstat (limited to 'polly/utils')
-rwxr-xr-xpolly/utils/check_format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/utils/check_format.sh b/polly/utils/check_format.sh
index 120a6a24af6..4d7b033d1a7 100755
--- a/polly/utils/check_format.sh
+++ b/polly/utils/check_format.sh
@@ -14,7 +14,7 @@ OK=0
for ARG in "$@"
do
- ${CLANG_FORMAT} $ARG | diff -u $ARG -
+ ${CLANG_FORMAT} -style=llvm $ARG | diff -u $ARG - >&2
if [[ $? -eq 1 ]]; then
OK=1
OpenPOWER on IntegriCloud