[clang] No spaces after colon and comma in initializer list (PR #190657)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 13:36:01 PDT 2026
================
@@ -5541,6 +5541,8 @@ bool TokenAnnotator::spaceRequiredBefore(const AnnotatedLine &Line,
// In an unexpanded macro call we only find the parentheses and commas
// in a line; the commas and closing parenthesis do not require a space.
(Left.Children.empty() || !Left.MacroParent)) {
+ if (Left.is(TT_CtorInitializerComma))
----------------
HazardyKnusperkeks wrote:
I don't think you should be in this if.
https://github.com/llvm/llvm-project/pull/190657
More information about the cfe-commits
mailing list