compilerplugins/clang/stringconstant.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 02957bc3b764988d9825c18c31ef1b4d09d57636
Author: Noel Grandin <[email protected]>
Date:   Thu Feb 2 11:29:25 2017 +0200

    loplugin:stringconstant, this should be a break
    
    after commit dce867e8c4863c969eea3515a988630b74708a43
    "loplugin:stringconstant handle calls to constructors with one arg"
    
    Change-Id: Ib572d904a95aa96aab3c799f9b7cfb505fcee5e6

diff --git a/compilerplugins/clang/stringconstant.cxx 
b/compilerplugins/clang/stringconstant.cxx
index b80701c..2a1302e 100644
--- a/compilerplugins/clang/stringconstant.cxx
+++ b/compilerplugins/clang/stringconstant.cxx
@@ -68,7 +68,7 @@ bool hasOverloads(FunctionDecl const * decl, unsigned 
arguments) {
         {
             auto consDecl = dyn_cast<CXXConstructorDecl>(f);
             if (consDecl && consDecl->isCopyConstructor()) {
-                break;
+                continue;
             }
             ++n;
             if (n == 2) {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to