We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208a985 commit 55a02d1Copy full SHA for 55a02d1
clang/unittests/Format/FormatTest.cpp
@@ -11475,10 +11475,10 @@ TEST_F(FormatTest, UnderstandsNewAndDelete) {
11475
"void new (link p);\n"
11476
"void delete (link p);");
11477
11478
- verifyFormat("{ p->delete(); }\n"
11479
- "{ p->new(); }",
11480
- "{ p->delete (); }\n"
11481
- "{ p->new (); }");
+ verifyFormat("p->new();\n"
+ "p->delete();",
+ "p->new ();\n"
+ "p->delete ();");
11482
11483
FormatStyle AfterPlacementOperator = getLLVMStyle();
11484
AfterPlacementOperator.SpaceBeforeParens = FormatStyle::SBPO_Custom;
0 commit comments