[PATCH] D68876: [libTooling] Group all Transformer combinators in a single namespace.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 09:37:57 PDT 2019


ymandel created this revision.
ymandel added a reviewer: gribozavr.
Herald added a project: clang.

This revision introduces a new namespace, `clang::tooling::transformer`, to hold
the combinators that together compose the embedded "DSL" provided by
Transformer.  It moves all Transformer-related combinators into this namespace,
while leaving other Transformer declarations in the `clang::tooling` namespace.
This structure mirrors that of `clang::ast_matchers`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68876

Files:
  clang/include/clang/Tooling/Transformer/MatchConsumer.h
  clang/include/clang/Tooling/Transformer/RangeSelector.h
  clang/include/clang/Tooling/Transformer/RewriteRule.h
  clang/include/clang/Tooling/Transformer/Stencil.h
  clang/lib/Tooling/Transformer/RangeSelector.cpp
  clang/lib/Tooling/Transformer/RewriteRule.cpp
  clang/lib/Tooling/Transformer/Stencil.cpp
  clang/unittests/Tooling/StencilTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68876.224616.patch
Type: text/x-patch
Size: 14985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191011/c7c41139/attachment-0001.bin>


More information about the cfe-commits mailing list