[clang] [clang-format] Fix crash involving array designators (PR #77045)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 9 12:09:07 PST 2024
================
@@ -1444,6 +1444,7 @@ WhitespaceManager::CellDescriptions WhitespaceManager::getCells(unsigned Start,
} else if (C.Tok->is(tok::comma)) {
if (!Cells.empty())
Cells.back().EndIndex = i;
+
----------------
HazardyKnusperkeks wrote:
Unrelated (and unwanted?)
https://github.com/llvm/llvm-project/pull/77045
More information about the cfe-commits
mailing list