[all-commits] [llvm/llvm-project] e22de4: [DominatorTree] Simplify ChildrenGetter.

Alina Sbirlea via All-commits all-commits at lists.llvm.org
Tue Jul 28 15:45:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e22de4e46d1dd1aacc3a7060d24bcbe89908ba6c
      https://github.com/llvm/llvm-project/commit/e22de4e46d1dd1aacc3a7060d24bcbe89908ba6c
  Author: Alina Sbirlea <asbirlea at google.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    M clang/include/clang/Analysis/Analyses/Dominators.h
    M llvm/include/llvm/Support/GenericDomTreeConstruction.h

  Log Message:
  -----------
  [DominatorTree] Simplify ChildrenGetter.

Summary:
Simplify ChildrenGetter to a simple wrapper around a GraphDiff call.
GraphDiff already handles nullptr in children, so the special casing in
clang can also be removed.

Reviewers: kuhar, dblaikie

Subscribers: llvm-commits, cfe-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D84713




More information about the All-commits mailing list