Adjusted arc linter config for modern version of arcanist
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>
Wed, 12 Aug 2015 09:01:16 +0000 (09:01 +0000)
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>
Wed, 12 Aug 2015 09:01:16 +0000 (09:01 +0000)
llvm-svn: 244726

polly/.arcconfig
polly/.arclint

index d64a648..7a82312 100644 (file)
@@ -2,8 +2,6 @@
   "project_id" : "polly",
   "conduit_uri" : "http://reviews.llvm.org/",
   "history.immutable" : true,
-  "linter.scriptandregex.script": "sh -c './utils/check_format.sh \"$0\" 2> /dev/null || true'",
-  "linter.scriptandregex.regex": "/^(OK:(?P<ignore>.+)|Error:) (?P<message>.+)$/m",
   "load" : [
     "utils/arcanist/LitTestEngine"
   ],
index 84546f5..f1df53b 100644 (file)
@@ -3,7 +3,9 @@
     "format": {
       "include": "(include/polly/.+\\.h$|lib/.+\\.cpp$)",
       "exclude": "(lib/JSON/.*)",
-      "type": "script-and-regex"
+      "type": "script-and-regex",
+      "script-and-regex.script": "sh -c './utils/check_format.sh \"$0\" 2> /dev/null || true'",
+      "script-and-regex.regex": "/^(OK:(?P<ignore>.+)|Error:) (?P<message>.+)$/m"
     },
     "chmod": {
       "type": "chmod"