summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-14 23:35:45 +0000
committerChris Lattner <sabre@nondot.org>2007-04-14 23:35:45 +0000
commit03840ac2e205b45a7192aa2e198a135f74534942 (patch)
treeac4db2695e329a46270eed2c2a3ba0f3a5c093cd /Makefile.rules
parente34e9a29dc424baed8aed200c6a940f2c12c2a2f (diff)
downloadllvm-03840ac2e205b45a7192aa2e198a135f74534942.tar.gz
llvm-03840ac2e205b45a7192aa2e198a135f74534942.tar.bz2
llvm-03840ac2e205b45a7192aa2e198a135f74534942.tar.xz
add a target to print out 80-column violations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index de97781fcc..723fefcaf8 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1725,6 +1725,9 @@ uninstall-local::
endif
endif
+check-line-length:
+ @egrep '.{81}' $(Sources)
+
#------------------------------------------------------------------------
# Print out the directories used for building
#------------------------------------------------------------------------