[clang-format] Fix break being added to macro define with ColumnLimit: 0
authorArmen Khachkinaev <armen114@yandex.ru>
Thu, 13 Jan 2022 14:49:50 +0000 (15:49 +0100)
committerMarek Kurdej <marek.kurdej+llvm.org@gmail.com>
Fri, 14 Jan 2022 07:42:22 +0000 (08:42 +0100)
commit47a9eb2117aa7c61d8d2a9bf81a91e76a059a035
tree0803b3221325d41cbb813023078d4bc747b7015c
parent4f4340ee2af36909db77aeedb1d22c2ba52d2dfa
[clang-format] Fix break being added to macro define with ColumnLimit: 0

Fix for #[[ https://github.com/llvm/llvm-project/issues/49164 | 49164 ]] issue.

Reviewed By: MyDeveloperDay, HazardyKnusperkeks, curdeius, owenpan

Differential Revision: https://reviews.llvm.org/D116859
clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTest.cpp