summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-08-28 23:15:28 +0000
committerGabor Greif <ggreif@gmail.com>2008-08-28 23:15:28 +0000
commitd80360ae2e9f4c039f38043b09c7fcf4a78ccc86 (patch)
tree5701b5d48b99261ac1f355c31ed71a4f33e394ff /utils
parentdb57ef1cb3ba87024c5b54ebc1a95aad8e8e8b49 (diff)
downloadllvm-d80360ae2e9f4c039f38043b09c7fcf4a78ccc86.tar.gz
llvm-d80360ae2e9f4c039f38043b09c7fcf4a78ccc86.tar.bz2
llvm-d80360ae2e9f4c039f38043b09c7fcf4a78ccc86.tar.xz
just a brain dump for a small tool
that brings us to 80-col violations or tabs. Usage: visit-violations <file> At the moment it outputs editor invocations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/visit-violations5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/visit-violations b/utils/visit-violations
new file mode 100755
index 0000000000..f16ad58e46
--- /dev/null
+++ b/utils/visit-violations
@@ -0,0 +1,5 @@
+#!/usr/bin/env tcsh
+
+make check-line-length Sources="$1" \
+| awk -F : '/:[0-9]*:/ {print "emacs", "+" $2, $1}' \
+| sort -r