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

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 17:03:35 PDT 2020


dblaikie marked 2 inline comments as done.
dblaikie added a comment.

(also fixed the formatting issues the linter picked up)



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


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