mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Under -enable-infer-default-arguments, the Clang importer infers some default arguments for imported declarations. Rather than jumping through awful hoops to make sure that we create default argument generators (which will likely imply eager type checking), simply handle these cases as callee-side expansions. This makes -enable-infer-default-arguments usable, fixing rdar://problem/24049927.
162 KiB
162 KiB