llvm-project/clang/lib/Tooling/Transformer
Yitzhak Mandelbaum 01e8dd2e7a [libTooling] Add stencil combinators for nodes that may be pointers or values.
Summary:
Adds combinators `maybeDeref` and `maybeAddressOf` to provide a uniform way to handle
nodes which may be bound to either a pointer or a value (most often in the
context of member expressions). Such polymorphism is already supported by
`access`; these combinators extend it to more general uses.

Reviewers: gribozavr

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D70554
2019-11-22 12:36:40 -05:00
..
CMakeLists.txt [libTooling] Move `RewriteRule` abstraction into its own header and impl. 2019-10-11 14:43:46 +00:00
RangeSelector.cpp [libTooling] Put all Transformer declarations in a single namespace. 2019-10-16 01:06:46 +00:00
RewriteRule.cpp [libTooling] Further simplify `Stencil` type and introduce `MatchComputation`. 2019-11-11 12:44:15 -05:00
SourceCode.cpp
SourceCodeBuilders.cpp
Stencil.cpp [libTooling] Add stencil combinators for nodes that may be pointers or values. 2019-11-22 12:36:40 -05:00
Transformer.cpp [libTooling] Put all Transformer declarations in a single namespace. 2019-10-16 01:06:46 +00:00