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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 14 05:26:26 PDT 2021


MyDeveloperDay added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:8977
+               "};\n",
+               NoEmptyLines);
   verifyFormat("struct foo {\n"
----------------
if you left a line between this test or added your test at the end it wouldn't have cut the existing test in two. I can't easily tell if you are changing or adding tests


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