Skip to content

Commit 4326b88

Browse files
dougsonosSirraide
andauthored
Update clang/lib/Sema/SemaDeclCXX.cpp
Co-authored-by: Sirraide <[email protected]>
1 parent 2a71d8a commit 4326b88

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Sema/SemaDeclCXX.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18700,9 +18700,8 @@ bool Sema::CheckOverridingFunctionAttributes(CXXMethodDecl *New,
1870018700
NewFT->getParamTypes(), EPI);
1870118701
New->setType(ModQT);
1870218702
if (Errs.empty()) {
18703-
// A warning here is somewhat pedantic, in a different warning
18704-
// group. Skip this if there was already a merge conflict, which is
18705-
// more serious.
18703+
// A warning here is somewhat pedantic. Skip this if there was already
18704+
// a merge conflict, which is more serious.
1870618705
Diag(New->getLocation(), diag::warn_mismatched_func_effect_override)
1870718706
<< Diff.effectName();
1870818707
Diag(Old->getLocation(), diag::note_overridden_virtual_function)

0 commit comments

Comments
 (0)