mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously we would call `getMembers`, which could kick delayed member parsing. Instead, propagate a `parseIfNeeded` flag through the ASTDumper logic, and use it to determine whether to parse a SourceFile, type/extension body, or function body. This is needed for things like `-dump-parse` which expects to dump the entire AST tree.
69 KiB
69 KiB