summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/useuniqueptr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/useuniqueptr.cxx')
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index df6343f61578..d4262c1a33ee 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -62,6 +62,12 @@ public:
// sometimes it owns, sometimes it doesn't
if (fn == SRCDIR "/editeng/source/misc/svxacorr.cxx")
return;
+ // SwDoc::m_PageDescs has weird handling
+ if (fn == SRCDIR "/sw/source/core/doc/docnew.cxx")
+ return;
+ // SwRedlineData::pNext and pExtraData have complex handling
+ if (fn == SRCDIR "/sw/source/core/doc/docredln.cxx")
+ return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}