================
@@ -5549,6 +5551,8 @@ bool TokenAnnotator::spaceRequiredBefore(const 
AnnotatedLine &Line,
     return true;
   if (Right.is(TT_CtorInitializerColon))
     return Style.SpaceBeforeCtorInitializerColon;
+  if (Left.is(TT_CtorInitializerColon))
----------------
HazardyKnusperkeks wrote:

All checks here are for `Right` don't mix it with putting the `Left` check here.

https://github.com/llvm/llvm-project/pull/190657
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to