Merge pull request #34612 from xymus/dont-skip-nested-types

[Sema] Add flag to optimize building swiftmodule files preserving type info for LLDB
This commit is contained in:
Alexis Laferrière
2020-11-12 19:16:21 -08:00
committed by GitHub
9 changed files with 157 additions and 75 deletions

View File

@@ -23,6 +23,9 @@ enum class FunctionBodySkipping : uint8_t {
None,
/// Only non-inlinable function bodies should be skipped.
NonInlinable,
/// Only non-inlinable functions bodies without type definitions should
/// be skipped.
NonInlinableWithoutTypes,
/// All function bodies should be skipped, where not otherwise required
/// for type inference.
All