We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa55442 + 80f4ced commit e8f3fa8Copy full SHA for e8f3fa8
lib/AST/ASTVerifier.cpp
@@ -2362,14 +2362,6 @@ class Verifier : public ASTWalker {
2362
}
2363
2364
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
-
2373
verifyCheckedBase(VD);
2374
2375
0 commit comments