[PATCH] D93637: [libTooling] Add support for smart pointers to releveant Transformer `Stencil`s.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 21 07:58:51 PST 2020


ymandel created this revision.
ymandel added reviewers: tdl-g, sbenza.
ymandel requested review of this revision.
Herald added a project: clang.

Stencils `maybeDeref` and `maybeAddressOf` are designed to handle nodes that may
be pointers. Currently, they only handle native pointers. This patch extends the
support to recognize smart pointers and handle them as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93637

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93637.313109.patch
Type: text/x-patch
Size: 6941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201221/5678882d/attachment.bin>


More information about the cfe-commits mailing list