[all-commits] [llvm/llvm-project] 79a7ed: CFGDiff: Simplify/common the begin/end implementat...

David Blaikie via All-commits all-commits at lists.llvm.org
Wed Mar 18 20:56:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 79a7ed92a9b135212a6a271dd8dbc625038c8f06
      https://github.com/llvm/llvm-project/commit/79a7ed92a9b135212a6a271dd8dbc625038c8f06
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2020-03-18 (Wed, 18 Mar 2020)

  Changed paths:
    M llvm/include/llvm/IR/CFGDiff.h

  Log Message:
  -----------
  CFGDiff: Simplify/common the begin/end implementations to use a common range helper

(would be nice to revisit the CFG traits and change them to use ranges
rather than begin/end - if anyone wants to do that refactor)

Also use more auto because writing the names of range utilty iterators
isn't helping readability here - they're sort of implementation details
for the most part, especially once you nest a few different filtering
and adapting iterators.




More information about the All-commits mailing list