We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8423778 commit c2cb571Copy full SHA for c2cb571
clang/lib/Sema/SemaExprCXX.cpp
@@ -2888,7 +2888,7 @@ static bool resolveAllocationOverload(
2888
// type-identity-less argument list.
2889
IAP.PassTypeIdentity = TypeAwareAllocationMode::No;
2890
IAP.PassAlignment = InitialAlignmentMode;
2891
- Args = UntypedParameters;
+ Args = std::move(UntypedParameters);
2892
}
2893
assert(!S.isStdTypeIdentity(Args[0]->getType(), nullptr));
2894
return resolveAllocationOverloadInterior(
0 commit comments