[Libreoffice-commits] core.git: compilerplugins/clang
Michael Stahl
mstahl at redhat.com
Wed Jan 31 16:55:53 UTC 2018
compilerplugins/clang/refcounting.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit e80da60895b45309fa1d018760d5f11cca4367f4
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Jan 31 17:52:42 2018 +0100
tdf#114596 compilerplugins: add exception to [loplugin:refcounting]
Change-Id: I994653dc4bf858bdea7ba60f40da0ee3c8d028e4
diff --git a/compilerplugins/clang/refcounting.cxx b/compilerplugins/clang/refcounting.cxx
index b902db4efd10..091ed20a0d12 100644
--- a/compilerplugins/clang/refcounting.cxx
+++ b/compilerplugins/clang/refcounting.cxx
@@ -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);
More information about the Libreoffice-commits
mailing list