[PATCH] D25427: [Analysis] Use unique_ptr for CallGraph::FunctionMap.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 10 09:05:01 PDT 2016
jlebar marked an inline comment as done.
jlebar added inline comments.
================
Comment at: clang/include/clang/Analysis/CallGraph.h:204
+ static clang::CallGraphNode *
+ CGGetValue(decltype(*std::declval<clang::CallGraph::const_iterator>()) &P) {
+ return P.second.get();
----------------
timshen wrote:
> Does clang::CallGraph::const_iterator::value_type work?
Much better, thanks.
https://reviews.llvm.org/D25427
More information about the cfe-commits
mailing list