[PATCH] D23725: [CallGraph] Use decltype instead of pointer_to_unary_function. NFC.

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 19 14:56:39 PDT 2016


dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.

Consistent names might be nice


================
Comment at: include/llvm/Analysis/CallGraph.h:440
@@ -442,2 +439,3 @@
 
-  typedef mapped_iterator<NodeType::const_iterator, CGNDerefFun>
+  static const CallGraphNode *CGNGetValue(CGNPairTy P) { return P.second; }
+
----------------
Two are called CGNGetValue and two are called CGGetValuePtr - any particular reason for the variety?


https://reviews.llvm.org/D23725





More information about the llvm-commits mailing list