Skip to content

Commit 54c5791

Browse files
committed
clangformat
1 parent 529308e commit 54c5791

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

clang/lib/Parse/ParseDeclCXX.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,11 +3148,13 @@ Parser::DeclGroupPtrTy Parser::ParseCXXClassMemberDeclaration(
31483148
// we did nothing here, but this allows us to issue a more
31493149
// helpful diagnostic.
31503150
if (Tok.is(tok::kw_concept)) {
3151-
Diag(Tok.getLocation(),
3152-
DS.isFriendSpecified() || NextToken().is(tok::kw_friend)
3153-
? unsigned(diag::err_friend_concept)
3154-
: unsigned(diag::
3155-
err_concept_decls_may_only_appear_in_global_namespace_scope));
3151+
Diag(
3152+
Tok.getLocation(),
3153+
DS.isFriendSpecified() || NextToken().is(tok::kw_friend)
3154+
? unsigned(diag::err_friend_concept)
3155+
: unsigned(
3156+
diag::
3157+
err_concept_decls_may_only_appear_in_global_namespace_scope));
31563158
SkipUntil(tok::semi, tok::r_brace, StopBeforeMatch);
31573159
return nullptr;
31583160
}

0 commit comments

Comments
 (0)