mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Various requests expect to be walking over the current source file. While we could add checks to all these to skip decls outside of the current buffer, it's a little nicer to handle this during the walk instead. Allow ignoring nodes that are from macro expansions and add that flag to the various walks that expect it. Also add a new `getOriginalAttrs` that filters out attributes in generated source.
86 KiB
86 KiB