tdf#114596 compilerplugins: add exception to [loplugin:refcounting]

Change-Id: I994653dc4bf858bdea7ba60f40da0ee3c8d028e4
This commit is contained in:
Michael Stahl
2018-01-31 17:52:42 +01:00
parent a344cc0f1d
commit e80da60895

View File

@@ -142,6 +142,10 @@ bool containsXInterfaceSubclass(const clang::Type* pType0) {
if (isDerivedFrom(pRecordDecl, [](Decl const * decl) -> bool { return bool(loplugin::DeclCheck(decl).Class("XPropertyList").GlobalNamespace()); })) { // module svx
return false;
}
// tdf#114596
if (isDerivedFrom(pRecordDecl, [](Decl const * decl) -> bool { return bool(loplugin::DeclCheck(decl).Class("OBookmarkContainer").Namespace("dbaccess").GlobalNamespace()); })) { // module dbaccess
return false;
}
}
if (pRecordDecl) {
const ClassTemplateSpecializationDecl* pTemplate = dyn_cast<ClassTemplateSpecializationDecl>(pRecordDecl);