add a target to print out 80-column violations.
authorChris Lattner <sabre@nondot.org>
Sat, 14 Apr 2007 23:35:45 +0000 (23:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Apr 2007 23:35:45 +0000 (23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36032 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index de97781fcc47e1f38dd635f67480891b915c550c..723fefcaf80febf826e84619c69b4d16770fa479 100644 (file)
@@ -1725,6 +1725,9 @@ uninstall-local::
 endif
 endif
 
+check-line-length:
+       @egrep '.{81}' $(Sources)
+
 #------------------------------------------------------------------------
 # Print out the directories used for building
 #------------------------------------------------------------------------