Only strip the newline character at the end of the lines that we're considering
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 20 Feb 2009 22:28:45 +0000 (22:28 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 20 Feb 2009 22:28:45 +0000 (22:28 +0000)
commit4c4c9525439812a72d0495fa3d4472854bcc4e47
treeaaed73c693c25306766514df724863a8f9e44a33
parenta2769a33c94f021a609a462b28ebea069eba6f74
Only strip the newline character at the end of the lines that we're considering
for length and for trailing whitespace; otherwise, the whitespace themselves
will also be removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65182 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lint/common_lint.py