CXXDestructorDecl is already handled
...a few lines up, together with CXXConstructorDecl Change-Id: Id9afd4d3936b2efb92de3c6ab950da78d876a5a8
This commit is contained in:
parent
a796ca45e7
commit
682899e313
@ -85,9 +85,6 @@ bool UnnecessaryOverride::VisitCXXMethodDecl(const CXXMethodDecl* methodDecl)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (dyn_cast<CXXDestructorDecl>(methodDecl)) {
|
||||
return true;
|
||||
}
|
||||
// sometimes the disambiguation happens in a base class
|
||||
StringRef aFileName = compiler.getSourceManager().getFilename(compiler.getSourceManager().getSpellingLoc(methodDecl->getLocStart()));
|
||||
if (aFileName == SRCDIR "/comphelper/source/property/propertycontainer.cxx")
|
||||
|
Loading…
x
Reference in New Issue
Block a user