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