summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-06-19 19:50:11 +0000
committerAlexander Kornienko <alexfh@google.com>2013-06-19 19:50:11 +0000
commita3555e24169781d7b923a4c928313420ee1a4a8e (patch)
treee40ba6b8c61c0bed84f828b462af6b9be05327e6 /llvm/lib/Transforms
parentd5dcec1181c1981f1baf7fe5b22ce0c21c4a1bd1 (diff)
downloadbcm5719-llvm-a3555e24169781d7b923a4c928313420ee1a4a8e.tar.gz
bcm5719-llvm-a3555e24169781d7b923a4c928313420ee1a4a8e.zip
Fixed long-standing issue with incorrect length calculation of multi-line comments.
Summary: A trailing block comment having multiple lines would cause extremely high penalties if the summary length of its lines is more than the column limit. Fixed by always considering only the last line of a multi-line block comment. Removed a long-standing FIXME from relevant tests and added a motivating test modelled after problem cases from real code. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1010 llvm-svn: 184340
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud