Kaydet (Commit) 02957bc3 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:stringconstant, this should be a break

after commit dce867e8
"loplugin:stringconstant handle calls to constructors with one arg"

Change-Id: Ib572d904a95aa96aab3c799f9b7cfb505fcee5e6
üst 6f9ef4ba
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment