Kaydet (Commit) 6abbbe70 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix copy/move ctor check

Change-Id: I2993d5809204098e29a7560d666fa1aafb024a89
üst 37b7a865
......@@ -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;
......
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