Skip to content

Commit 9c4dd64

Browse files
jsjicor3ntin
andcommitted
Update clang/lib/Parse/ParseDeclCXX.cpp
Co-authored-by: cor3ntin <[email protected]>
1 parent 64c6ec2 commit 9c4dd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseDeclCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3151,7 +3151,7 @@ Parser::DeclGroupPtrTy Parser::ParseCXXClassMemberDeclaration(
31513151
Diag(
31523152
Tok.getLocation(),
31533153
DS.isFriendSpecified() || NextToken().is(tok::kw_friend)
3154-
? unsigned(diag::err_friend_concept)
3154+
? llvm::to_underlying(diag::err_friend_concept)
31553155
: unsigned(
31563156
diag::
31573157
err_concept_decls_may_only_appear_in_global_namespace_scope));

0 commit comments

Comments
 (0)