Is there any command-line utility that will accept a Swift file, expand all macros in the file and emit the result?
1 Like
I haven’t tried. But I saw it in other post
-Xfrontend -dump-macro-expansions
Don’t blame me if it doesn’t work.
There currently doesn’t exist a command-line utility that outputs the expanded file.