[PATCH] D93846: [clang-format] PR16518 Add flag to suppress empty line insertion before access modifier
    MyDeveloperDay via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Dec 28 09:25:18 PST 2020
    
    
  
MyDeveloperDay added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:8544-8556
+  EXPECT_EQ("struct foo {\n"
+            "  int i;\n"
+            "\n"
+            "private:\n"
+            "  int j;\n"
+            "}\n",
+            format("struct foo {\n"
----------------
if you use verifyFormat it will check what happens when it messes the code up to ensure its stable
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93846/new/
https://reviews.llvm.org/D93846
    
    
More information about the cfe-commits
mailing list