mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* [InterfaceGen] Remove #ifs from default args This patch removes all #if configs form the bodies of default arguments, which can contain multiline closures, while preserving the bodies of the clauses that are active. This code is generalized and should "just work" for inlinable function bodies, which will come in a later patch. * Address review comments * Fix and test CharSourceRange.overlaps * Fix CharSourceRange::print to respect half-open ranges