diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-08-28 23:15:28 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-08-28 23:15:28 +0000 |
commit | d80360ae2e9f4c039f38043b09c7fcf4a78ccc86 (patch) | |
tree | 5701b5d48b99261ac1f355c31ed71a4f33e394ff | |
parent | db57ef1cb3ba87024c5b54ebc1a95aad8e8e8b49 (diff) | |
download | external_llvm-d80360ae2e9f4c039f38043b09c7fcf4a78ccc86.zip external_llvm-d80360ae2e9f4c039f38043b09c7fcf4a78ccc86.tar.gz external_llvm-d80360ae2e9f4c039f38043b09c7fcf4a78ccc86.tar.bz2 |
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
-rwxr-xr-x | utils/visit-violations | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/visit-violations b/utils/visit-violations new file mode 100755 index 0000000..f16ad58 --- /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 |