swift
0c3f5388 - [AST] Allow ignoring macro expansions

Commit
2 years ago
[AST] Allow ignoring macro expansions 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.
Author
Committer
Parents
Loading