[clang] [clang-format] Add option to remove leading blank lines (PR #91221)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 18 00:44:31 PDT 2024
================
@@ -45,6 +45,9 @@ TEST_F(FormatTest, FormatsGlobalStatementsAt0) {
verifyFormat("\nint i;", " \n\t \v \f int i;");
verifyFormat("int i;\nint j;", " int i; int j;");
verifyFormat("int i;\nint j;", " int i;\n int j;");
+ auto Style = getLLVMStyle();
----------------
owenca wrote:
An empty line before `auto Style = ...`?
https://github.com/llvm/llvm-project/pull/91221
More information about the cfe-commits
mailing list