Skip to content

Commit 8cb319b

Browse files
committed
[Refactoring] Preserve comments in async transform
Previously we would drop comments between nodes in a BraceStmt, as we printed each node out individually. To remedy this, always make sure we scan backwards to find any preceding comments attached to a node, and also keep track of any SourceLocs which we don't print, but may have comments attached which we want to preserve. rdar://77401810
1 parent 3a7a880 commit 8cb319b

File tree

5 files changed

+518
-45
lines changed

5 files changed

+518
-45
lines changed

0 commit comments

Comments
 (0)