This is an archive of the discontinued LLVM Phabricator instance.

[clang][Analysis] CallGraph: store the actual call `Expr*` in the CallGraphNode::CallRecord
ClosedPublic

Authored by lebedev.ri on Feb 5 2020, 11:36 AM.

Details

Summary

Storing not just the callee, but the actual call may be interesting for some use-cases.
In particular, D72362 would like that to better pretty-print the cycles in call graph.

Diff Detail

Event Timeline

lebedev.ri created this revision.Feb 5 2020, 11:36 AM
NoQ accepted this revision.Feb 5 2020, 4:24 PM

Looks great, thanks!

This revision is now accepted and ready to land.Feb 5 2020, 4:24 PM

Rebased, NFC.

In D74081#1860932, @NoQ wrote:

Looks great, thanks!

Thank you for the review!

This revision was automatically updated to reflect the committed changes.