[PATCH] D104317: [libTooling][NFC] Refactor implemenation of Transformer Stencils to use standard OOP

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 15 12:59:49 PDT 2021


ymandel created this revision.
ymandel added a reviewer: gribozavr2.
ymandel requested review of this revision.
Herald added a project: clang.

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).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104317

Files:
  clang/lib/Tooling/Transformer/Stencil.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104317.352223.patch
Type: text/x-patch
Size: 25998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210615/c5519957/attachment-0001.bin>


More information about the cfe-commits mailing list