[all-commits] [llvm/llvm-project] 9824ec: [clang][dataflow] Refactor `DataflowWorklist` type...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Fri Aug 4 16:30:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9824ec875cecc533d55c1f11c0c0440520c34464
      https://github.com/llvm/llvm-project/commit/9824ec875cecc533d55c1f11c0c0440520c34464
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/DataflowWorklist.h
    M clang/unittests/Analysis/CFGTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Refactor `DataflowWorklist` types and add a WTO version.

Removes dependency of the DataflowWorklistBase type on the PostOrderCFGView. The
base had no particular connection to this order -- looks like it was included as
a convenience to the two derived classes rather than because it belonged there
conceptually. Removing it cleans up the base class a bit and makes it suitable
to extension with the new WTODataflowWorklist class.

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




More information about the All-commits mailing list