diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-06-04 19:27:02 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-06-04 19:27:02 +0000 |
commit | 59ed77b813a58e6f81fca3896f61e967a4f5f495 (patch) | |
tree | 1170a895ab3c1139df1583750efae54dd1ee8711 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c4bfef50f33b6939d9680da8d1389511dc28a7f4 (diff) | |
download | bcm5719-llvm-59ed77b813a58e6f81fca3896f61e967a4f5f495.tar.gz bcm5719-llvm-59ed77b813a58e6f81fca3896f61e967a4f5f495.zip |
[clang-format] Don't align too long broken trailing comments
Summary:
This patch fixes a bug where clang-format will align newly broken trailing
comments even if this will make them exceed the line limit. The bug was caused
by a combination of unsigned arithmetic overflow and an imprecise computation
of the length of broken comment lines.
Reviewers: djasper, alexfh
Reviewed By: alexfh
Subscribers: klimek
Differential Revision: https://reviews.llvm.org/D33830
llvm-svn: 304687
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions