loplugin:staticmethods improvement
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755 Reviewed-on: https://gerrit.libreoffice.org/63434 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -83,9 +83,8 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
|
||||
if (isInUnoIncludeFile(pCXXMethodDecl)) {
|
||||
return true;
|
||||
}
|
||||
if ( pCXXMethodDecl != pCXXMethodDecl->getCanonicalDecl() ) {
|
||||
if (pCXXMethodDecl->getTemplateSpecializationKind() == TSK_ExplicitSpecialization)
|
||||
return true;
|
||||
}
|
||||
|
||||
// the CppUnit stuff uses macros and methods that can't be changed
|
||||
if (isDerivedFromTestFixture(pCXXMethodDecl->getParent())) {
|
||||
|
Reference in New Issue
Block a user