Skip to content

Commit c4e8a99

Browse files
committed
add consistent braces
1 parent 9a5ed03 commit c4e8a99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang-tools-extra/clang-tidy/llvm/PreferStaticOverAnonymousNamespaceCheck.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ void PreferStaticOverAnonymousNamespaceCheck::registerMatchers(
5252
hasParent(cxxRecordDecl()))))))
5353
.bind("function"),
5454
this);
55-
} else
55+
} else {
5656
Finder->addMatcher(
5757
functionDecl(IsDefinitionInAnonymousNamespace).bind("function"), this);
58+
}
5859

5960
if (!AllowVariableDeclarations)
6061
Finder->addMatcher(varDecl(IsDefinitionInAnonymousNamespace,

0 commit comments

Comments
 (0)