Skip to content

Commit

Permalink
Update SemaDeclCXX.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gmh5225 committed Apr 12, 2024
1 parent 972837d commit e5b9fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Sema/SemaDeclCXX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10416,7 +10416,7 @@ void Sema::DiagnoseHiddenVirtualMethods(CXXMethodDecl *MD) {

// Don't diagnose hidden virtual methods in Microsoft extensions mode.
if (getLangOpts().MicrosoftExt)
return;
return;

if (MD->isInvalidDecl())
return;
Expand Down

0 comments on commit e5b9fbf

Please sign in to comment.