[PATCH] D52742: [analyzer][PlistMacroExpansion] Part 1.: New expand-macros flag
Umann Kristóf via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 26 07:24:18 PDT 2018
Szelethus planned changes to this revision.
Szelethus added a comment.
@xazax.hun observed that the way `diagnostics` looks like is this:
diagnostics
report 1
notes
macro_expansions
path
executed_lines
report 2
...
Buuuut, if I didn't insist on this structure, but rather print macros at the end of the report, we wouldn't need all this hackery (converting a immutable container, into a mutable one, and then actually modifying the path). This however does imply that macro pieces have to be collected, which would imply the need for adding //yet another// parameter to //every single function// in this file. I think the time has come to collect them in a class, so I'll put this patch on hold.
Mind you, the rest of the patches don't contain logic that depends on this patch.
https://reviews.llvm.org/D52742
More information about the cfe-commits
mailing list