[all-commits] [llvm/llvm-project] f387c8: [libTooling][NFC] Refactor implemenation of Transf...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Wed Jun 16 08:19:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f387c8545d3a729eaf0e76c22f445a2209705814
      https://github.com/llvm/llvm-project/commit/f387c8545d3a729eaf0e76c22f445a2209705814
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

  Changed paths:
    M clang/lib/Tooling/Transformer/Stencil.cpp

  Log Message:
  -----------
  [libTooling][NFC] Refactor implemenation of Transformer Stencils to use standard OOP

Currently, the implementation combines OOP and overloads, using a template to
tie the two together. In practice, this has proven confusing with no
benefits. This patch simplifies the code to use standard OOP design (a
collection of classes deriving from an interface).

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




More information about the All-commits mailing list