diff options
author | Michael Stahl <mstahl@redhat.com> | 2018-01-31 17:52:42 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-01-31 17:53:40 +0100 |
commit | e80da60895b45309fa1d018760d5f11cca4367f4 (patch) | |
tree | a87ebcc952e386133e9eb4002afcda36b28939f3 /compilerplugins | |
parent | a344cc0f1dfd80386d632bff56067e0daeed9615 (diff) |
tdf#114596 compilerplugins: add exception to [loplugin:refcounting]
Change-Id: I994653dc4bf858bdea7ba60f40da0ee3c8d028e4
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/refcounting.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); |