[PATCH] D68315: [libTooling] Add various Stencil combinators for expressions.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 1 20:08:11 PDT 2019
ymandel created this revision.
ymandel added a reviewer: gribozavr.
Herald added a project: clang.
This revision adds three new Stencil combinators:
- `expression`, which idiomatically constructs the source for an expression, including wrapping the expression's source in parentheses if needed.
- `deref`, which constructs an idiomatic dereferencing expression.
- `addressOf`, which constructs an idiomatic address-taking expression.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68315
Files:
clang/include/clang/Tooling/Refactoring/Stencil.h
clang/lib/Tooling/Refactoring/Stencil.cpp
clang/unittests/Tooling/StencilTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68315.222747.patch
Type: text/x-patch
Size: 7963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191002/39b633e6/attachment.bin>
More information about the cfe-commits
mailing list