File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments