[PATCH] D93986: [clang-format] Add the possibility to align assignments spanning empty lines or comments

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 5 02:32:05 PST 2021


MyDeveloperDay added a comment.

Thank you for submitting this patch?



================
Comment at: clang/include/clang/Format/Format.h:117
+    ///   int b    = 23;
+    ///
+    ///   int ccc  = 23;
----------------
tinloaf wrote:
> HazardyKnusperkeks wrote:
> > You are adding a Tab here, or do I misinterpret this? Shouldn't that be fixed by clang-format itself?
> I'm not sure, honestly. I did auto-format everything using `clang-format` with the provided style. I think I know what you mean (the little double arrows here in the side-by-side view?), but if I open the raw diff ("View Options" above, "Show Raw File (Right)"), it does not seem to contain tabs. Also, the file on my disk does not contain tabs.
@HazardyKnusperkeks to my knowledge, its not a tab


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93986/new/

https://reviews.llvm.org/D93986



More information about the cfe-commits mailing list