compilerplugins/clang/stringconstant.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6abbbe70150f4157dd3a858273a39603027ddcba Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Feb 2 11:49:20 2017 +0100 Fix copy/move ctor check Change-Id: I2993d5809204098e29a7560d666fa1aafb024a89 diff --git a/compilerplugins/clang/stringconstant.cxx b/compilerplugins/clang/stringconstant.cxx index 2a1302e..5bf4392 100644 --- a/compilerplugins/clang/stringconstant.cxx +++ b/compilerplugins/clang/stringconstant.cxx @@ -67,7 +67,7 @@ bool hasOverloads(FunctionDecl const * decl, unsigned arguments) { && f->getNumParams() >= arguments) { auto consDecl = dyn_cast<CXXConstructorDecl>(f); - if (consDecl && consDecl->isCopyConstructor()) { + if (consDecl && consDecl->isCopyOrMoveConstructor()) { continue; } ++n; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits