[PATCH] D76034: CFGDiff: Simplify and generalize over all graph types

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 16:39:00 PDT 2020


asbirlea added a comment.

Thanks a lot for this clean-up! I wanted to merge these since I defined them, but couldn't figure out how to do it; this is excellent! :-).



================
Comment at: llvm/include/llvm/IR/CFGDiff.h:160
+          typename GT = GraphTraits<GraphT>>
+struct CFGViewSuccessors {
+  using DataRef = const GraphDiff<typename GT::NodeRef, InverseGraph> *;
----------------
Now that the two classes are merged, could this be called `CFGViewChildren`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76034/new/

https://reviews.llvm.org/D76034





More information about the llvm-commits mailing list