Skip to content

Commit d31a403

Browse files
committed
Remember to run clang-format locally
1 parent e726dca commit d31a403

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

clang/include/clang/Format/Format.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4630,9 +4630,8 @@ struct FormatStyle {
46304630

46314631
SpacesInParensCustom()
46324632
: InAttributeSpecifiers(SIPCS_Never),
4633-
InConditionalStatements(SIPCS_Never),
4634-
InCStyleCasts(SIPCS_Never), InEmptyParentheses(false),
4635-
Other(SIPCS_Never) {}
4633+
InConditionalStatements(SIPCS_Never), InCStyleCasts(SIPCS_Never),
4634+
InEmptyParentheses(false), Other(SIPCS_Never) {}
46364635

46374636
SpacesInParensCustom(SpacesInParensCustomStyle InAttributeSpecifiers,
46384637
SpacesInParensCustomStyle InConditionalStatements,

clang/unittests/Format/ConfigParseTest.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -654,27 +654,27 @@ TEST(ConfigParseTest, ParsesConfiguration) {
654654
Style.SpacesInParens = FormatStyle::SIPO_Never;
655655
Style.SpacesInParensOptions = {};
656656
CHECK_PARSE("SpacesInParentheses: true", SpacesInParensOptions,
657-
FormatStyle::SpacesInParensCustom(FormatStyle::SIPCS_Always,
658-
FormatStyle::SIPCS_Always, FormatStyle::SIPCS_Never, false,
659-
FormatStyle::SIPCS_Always));
657+
FormatStyle::SpacesInParensCustom(
658+
FormatStyle::SIPCS_Always, FormatStyle::SIPCS_Always,
659+
FormatStyle::SIPCS_Never, false, FormatStyle::SIPCS_Always));
660660
Style.SpacesInParens = FormatStyle::SIPO_Never;
661661
Style.SpacesInParensOptions = {};
662662
CHECK_PARSE("SpacesInConditionalStatement: true", SpacesInParensOptions,
663-
FormatStyle::SpacesInParensCustom(FormatStyle::SIPCS_Never,
664-
FormatStyle::SIPCS_Always, FormatStyle::SIPCS_Never, false,
665-
FormatStyle::SIPCS_Never));
663+
FormatStyle::SpacesInParensCustom(
664+
FormatStyle::SIPCS_Never, FormatStyle::SIPCS_Always,
665+
FormatStyle::SIPCS_Never, false, FormatStyle::SIPCS_Never));
666666
Style.SpacesInParens = FormatStyle::SIPO_Never;
667667
Style.SpacesInParensOptions = {};
668668
CHECK_PARSE("SpacesInCStyleCastParentheses: true", SpacesInParensOptions,
669-
FormatStyle::SpacesInParensCustom(FormatStyle::SIPCS_Never,
670-
FormatStyle::SIPCS_Never, FormatStyle::SIPCS_Always, false,
671-
FormatStyle::SIPCS_Never));
669+
FormatStyle::SpacesInParensCustom(
670+
FormatStyle::SIPCS_Never, FormatStyle::SIPCS_Never,
671+
FormatStyle::SIPCS_Always, false, FormatStyle::SIPCS_Never));
672672
Style.SpacesInParens = FormatStyle::SIPO_Never;
673673
Style.SpacesInParensOptions = {};
674674
CHECK_PARSE("SpaceInEmptyParentheses: true", SpacesInParensOptions,
675-
FormatStyle::SpacesInParensCustom(FormatStyle::SIPCS_Never,
676-
FormatStyle::SIPCS_Never, FormatStyle::SIPCS_Never, true,
677-
FormatStyle::SIPCS_Never));
675+
FormatStyle::SpacesInParensCustom(
676+
FormatStyle::SIPCS_Never, FormatStyle::SIPCS_Never,
677+
FormatStyle::SIPCS_Never, true, FormatStyle::SIPCS_Never));
678678
Style.SpacesInParens = FormatStyle::SIPO_Never;
679679
Style.SpacesInParensOptions = {};
680680

0 commit comments

Comments
 (0)