[llvm-commits] [llvm] r55509 - /llvm/trunk/utils/visit-violations

Gabor Greif ggreif at gmail.com
Thu Aug 28 16:15:28 PDT 2008


Author: ggreif
Date: Thu Aug 28 18:15:28 2008
New Revision: 55509

URL: http://llvm.org/viewvc/llvm-project?rev=55509&view=rev
Log:
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.

Added:
    llvm/trunk/utils/visit-violations   (with props)

Added: llvm/trunk/utils/visit-violations
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/visit-violations?rev=55509&view=auto

==============================================================================
--- llvm/trunk/utils/visit-violations (added)
+++ llvm/trunk/utils/visit-violations Thu Aug 28 18:15:28 2008
@@ -0,0 +1,5 @@
+#!/usr/bin/env tcsh
+
+make check-line-length Sources="$1" \
+| awk -F : '/:[0-9]*:/ {print "emacs", "+" $2, $1}' \
+| sort -r

Propchange: llvm/trunk/utils/visit-violations

------------------------------------------------------------------------------
    svn:executable = *





More information about the llvm-commits mailing list