summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-09 14:53:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-18 13:13:41 +0200
commit516d593ce1593ad47712b762dfa67a8063a18929 (patch)
treea1c9c22142765ad6ba9278b6fdc316cd6d9f9480 /compilerplugins/clang
parent9fa32e5dce345dea17129587c401c03520fb398b (diff)
loplugin:useuniqueptr in SvxAutoCorrectLanguageLists
Change-Id: Ie433a336f9cd5133aefbe4ef88d214b5f5c63a0a Reviewed-on: https://gerrit.libreoffice.org/54182 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index 0c82307a9da8..5a2ff10e0508 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -53,6 +53,9 @@ public:
// to our own buffer
if (fn == SRCDIR "/editeng/source/misc/txtrange.cxx")
return;
+ // can't use std::set<std::unique_ptr<>> until C++14
+ if (fn == SRCDIR "/editeng/source/misc/svxacorr.cxx")
+ return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}