=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]>, =?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <[email protected]> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
https://github.com/owenca commented: Please don't click `Update branch` or merge `main` branch. Please add `tok::kw_union` below: ```diff --- a/clang/lib/Format/UnwrappedLineFormatter.cpp +++ b/clang/lib/Format/UnwrappedLineFormatter.cpp @@ -487,7 +487,8 @@ private: const FormatToken *PreviousPrevious = Previous->getPreviousNonComment(); if (PreviousPrevious && - PreviousPrevious->isOneOf(tok::kw_class, tok::kw_struct)) { + PreviousPrevious->isOneOf(tok::kw_class, tok::kw_struct, + tok::kw_union)) { return 0; } } ``` https://github.com/llvm/llvm-project/pull/154580 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
