Skip to content

Commit f7ecc7e

Browse files
committed
reformat
1 parent f3654a2 commit f7ecc7e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

clang/unittests/Format/ConfigParseTest.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,9 +907,8 @@ TEST(ConfigParseTest, ParsesConfiguration) {
907907
CHECK_PARSE("IfMacros: [MYIF]", IfMacros, CustomIfs);
908908

909909
Style.AttributeMacros.clear();
910-
CHECK_PARSE(
911-
"BasedOnStyle: LLVM", AttributeMacros,
912-
std::vector<std::string>({"__capability"}));
910+
CHECK_PARSE("BasedOnStyle: LLVM", AttributeMacros,
911+
std::vector<std::string>{"__capability"});
913912
Style.AttributeMacros.clear();
914913
CHECK_PARSE(
915914
"BasedOnStyle: Google", AttributeMacros,

clang/unittests/Format/FormatTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12739,8 +12739,8 @@ TEST_F(FormatTest, UnderstandsPointerQualifiersInCast) {
1273912739
FormatStyle LongPointerRightGoogle = getGoogleStyleWithColumns(999);
1274012740
FormatStyle LongPointerLeftGoogle = getGoogleStyleWithColumns(999);
1274112741
LongPointerLeftGoogle.PointerAlignment = FormatStyle::PAS_Left;
12742-
Twine AllQualifiersPlusGoogle = AllQualifiers +
12743-
" absl_nonnull absl_nullable absl_nullability_unknown";
12742+
Twine AllQualifiersPlusGoogle =
12743+
AllQualifiers + " absl_nonnull absl_nullable absl_nullability_unknown";
1274412744
verifyFormat(("x = (foo *" + AllQualifiersPlusGoogle + ")*v;").str(),
1274512745
LongPointerRightGoogle);
1274612746
verifyFormat(("x = (foo* " + AllQualifiersPlusGoogle + ")*v;").str(),

0 commit comments

Comments
 (0)