diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-02 11:29:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-02 11:35:06 +0200 |
commit | 02957bc3b764988d9825c18c31ef1b4d09d57636 (patch) | |
tree | 9c579a03d1459e7eda84c75d419d1846acb97d7d /compilerplugins/clang | |
parent | 6f9ef4bad6ce4c99d409f968f5841b9fd9d44280 (diff) |
loplugin:stringconstant, this should be a break
after commit dce867e8c4863c969eea3515a988630b74708a43
"loplugin:stringconstant handle calls to constructors with one arg"
Change-Id: Ib572d904a95aa96aab3c799f9b7cfb505fcee5e6
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/stringconstant.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/stringconstant.cxx b/compilerplugins/clang/stringconstant.cxx index b80701c41b8b..2a1302e0ec5e 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) { |