[cfe-commits] Patches for clang -ast-print
Ted Kremenek
kremenek at apple.com
Mon Oct 29 21:32:30 PDT 2012
On Oct 29, 2012, at 5:39 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> So we're printing what basically amounts to a derived analysis for all
> users? I guess that makes sense, to some extent... but is there no
> way to formally query the CFGElements a given CFGElement depends on?
No there isn't. The CFGElements aren't an "IR" representation that are chained together. Their just slots in a BasicBlock. One day it may be useful to change the representation of the CFG itself, or have a side data structure that does what you say.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121029/8201f134/attachment.html>
More information about the cfe-commits
mailing list