Skip to content

Commit 80f4ced

Browse files
authored
Merge pull request #26769 from apple/revert-26740-this-is-your-final-warning
2 parents b1b0fbe + da94834 commit 80f4ced

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/AST/ASTVerifier.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2362,14 +2362,6 @@ class Verifier : public ASTWalker {
23622362
}
23632363
}
23642364

2365-
if (VD->isFinal() != VD->getAttrs().hasAttribute<FinalAttr>()) {
2366-
Out << "decl should be final iff it has FinalAttr, but isFinal() = "
2367-
<< VD->isFinal() << " and hasAttribute<FinalAttr>() = "
2368-
<< VD->getAttrs().hasAttribute<FinalAttr>() << "\n";
2369-
VD->dump(Out);
2370-
abort();
2371-
}
2372-
23732365
verifyCheckedBase(VD);
23742366
}
23752367

0 commit comments

Comments
 (0)