mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Clang importer: when dropping the variadic parameter, drop the variadic parameter.
Fixes iOS build.
This commit is contained in:
@@ -3162,7 +3162,7 @@ namespace {
|
||||
|
||||
// If we dropped the variadic, handle it now.
|
||||
if (importedName.DroppedVariadic) {
|
||||
params = params.slice(1);
|
||||
params = params.drop_back(1);
|
||||
variadic = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user