[PATCH] D50177: clang-format: fix a crash in comment wraps.

2018-08-02 Thread Martin Probst via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL338706: clang-format: fix a crash in comment wraps. (authored by mprobst, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM https://reviews.llvm.org/D50177 Files: cfe/trun

[PATCH] D50177: clang-format: fix a crash in comment wraps.

2018-08-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir accepted this revision. krasimir added a comment. This revision is now accepted and ready to land. Great! Thank you! Repository: rC Clang https://reviews.llvm.org/D50177 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://list

[PATCH] D50177: clang-format: fix a crash in comment wraps.

2018-08-02 Thread Martin Probst via Phabricator via cfe-commits
mprobst created this revision. mprobst added a reviewer: krasimir. Previously, clang-format would crash if it tried to wrap an overlong single line comment, because two parts of the code inserted a break in the same location. /** heregoesalongcommentwithnospace */ This wasn't previously notice