[all-commits] [llvm/llvm-project] a90374: [DomTree] Replace ChildrenGetter with GraphTraits ...
Alina Sbirlea via All-commits
all-commits at lists.llvm.org
Thu Apr 9 18:09:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a90374988e4eb8c50d91e11f4e61cdbd5debb235
https://github.com/llvm/llvm-project/commit/a90374988e4eb8c50d91e11f4e61cdbd5debb235
Author: Alina Sbirlea <asbirlea at google.com>
Date: 2020-04-09 (Thu, 09 Apr 2020)
Changed paths:
M clang/include/clang/Analysis/Analyses/Dominators.h
M llvm/include/llvm/IR/CFGDiff.h
M llvm/include/llvm/IR/Dominators.h
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
M llvm/lib/IR/Dominators.cpp
Log Message:
-----------
[DomTree] Replace ChildrenGetter with GraphTraits over GraphDiff.
Summary:
This replaces the ChildrenGetter inside the DominatorTree with
GraphTraits over a GraphDiff object, an object which encapsulated the
view of the previous CFG.
This also simplifies the extentions in clang which use DominatorTree, as
GraphDiff also filters nullptrs.
Reviewers: kuhar, dblaikie, NutshellySima
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D77341
More information about the All-commits
mailing list