[PATCH] D99503: [clang-format] Inconsistent behavior regarding line break before access modifier

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 14 17:18:43 PDT 2021


HazardyKnusperkeks added a comment.

Look good in general, only the few comments.



================
Comment at: clang/unittests/Format/FormatTest.cpp:8892
   FormatStyle Style = getLLVMStyle();
+  FormatStyle NoEmptyLines = getLLVMStyle();
+  NoEmptyLines.MaxEmptyLinesToKeep = 0;
----------------
While we are at empty lines, maybe add some here, so that it is a bit more readable. It took me some time to see that you use 2 different styles.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99503



More information about the cfe-commits mailing list