diff options
author | Stephen Kelly <steveire@gmail.com> | 2020-01-12 09:38:11 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2020-05-25 00:18:54 +0100 |
commit | d0da5d2bbe8305d06dc01a98706fd73e11e24a9f (patch) | |
tree | c2cf395c5504443b8b0bcb657e9de9350cf4d9be /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 51dec88c5df26d4ecb5ca3016f0a1c8668685f35 (diff) | |
download | llvm-d0da5d2bbe8305d06dc01a98706fd73e11e24a9f.zip llvm-d0da5d2bbe8305d06dc01a98706fd73e11e24a9f.tar.gz llvm-d0da5d2bbe8305d06dc01a98706fd73e11e24a9f.tar.bz2 |
Change default traversal in AST Matchers to ignore invisible nodes
This makes many scenarios simpler by not requiring the user to write
ignoringImplicit() all the time, nor to account for non-visible
cxxConstructExpr() and cxxMemberCalExpr() nodes. This is also, in part,
inclusive of the equivalent of adding a use of ignoringParenImpCasts()
between all expr()-related matchers in an expression.
The pre-existing traverse(TK_AsIs, ...) matcher can be used to explcitly
match on implicit/invisible nodes. See
http://lists.llvm.org/pipermail/cfe-dev/2019-December/064143.html
for more
Reviewers: aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72534
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions