summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFG.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-08-23 15:16:47 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-08-23 15:16:47 +0000
commit7f7c3dc0aa3f8bbca09949d1860120aade2f5b31 (patch)
treebbcf2ba240d61830b8a098030a12357d1121cc55 /clang/lib/Analysis/CFG.cpp
parent9f11c0bddfb04bb6697db065a48771dc3af03878 (diff)
downloadbcm5719-llvm-7f7c3dc0aa3f8bbca09949d1860120aade2f5b31.tar.gz
bcm5719-llvm-7f7c3dc0aa3f8bbca09949d1860120aade2f5b31.zip
[clang-format] Emit absolute splits before lines for comments
Summary: This patch makes the splits emitted for the beginning of comment lines during reformatting absolute. Previously, they were relative to the start of the non-whitespace content of the line, which messes up further TailOffset calculations in breakProtrudingToken. This fixes an assertion failure reported in bug 34236: https://bugs.llvm.org/show_bug.cgi?id=34236. Reviewers: djasper Reviewed By: djasper Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D36956 llvm-svn: 311559
Diffstat (limited to 'clang/lib/Analysis/CFG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud