[PATCH] D25427: [Analysis] Use unique_ptr for CallGraph::FunctionMap.

Tim Shen via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 02:22:03 PDT 2016


timshen 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();
----------------
Does clang::CallGraph::const_iterator::value_type work?


https://reviews.llvm.org/D25427





More information about the cfe-commits mailing list