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

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 11:43:23 PST 2020


lebedev.ri created this revision.
lebedev.ri added reviewers: NoQ, erichkeane.
lebedev.ri added a project: clang.
Herald added a subscriber: Charusso.

Storing not just the callee, but the actual call may be interesting for some use-cases.
In particular, D72362 <https://reviews.llvm.org/D72362> would like that to better pretty-print the cycles in call graph.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74081

Files:
  clang-tools-extra/clang-move/HelperDeclRefGraph.cpp
  clang/include/clang/Analysis/CallGraph.h
  clang/lib/Analysis/CallGraph.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74081.242714.patch
Type: text/x-patch
Size: 6482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200205/e43bbecd/attachment-0001.bin>


More information about the cfe-commits mailing list