Fix copy/move ctor check
Change-Id: I2993d5809204098e29a7560d666fa1aafb024a89
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user