diff options
author | Stephen Kelly <steveire@gmail.com> | 2021-02-04 20:49:58 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2021-02-18 15:04:03 +0000 |
commit | e4d5f00093bec4099f1d0496181dc670c42ac220 (patch) | |
tree | 475113cc4d000a87f935a493f9dcb2a1a1b4c86b /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 25aa0d12445eed6e278489546d18fcb7a33cfaa6 (diff) | |
download | llvm-e4d5f00093bec4099f1d0496181dc670c42ac220.zip llvm-e4d5f00093bec4099f1d0496181dc670c42ac220.tar.gz llvm-e4d5f00093bec4099f1d0496181dc670c42ac220.tar.bz2 |
[ASTMatchers] Fix hasParent while ignoring unwritten nodes
For example, before this patch we can use has() to get from a
cxxRewrittenBinaryOperator to its operand, but hasParent doesn't get
back to the cxxRewrittenBinaryOperator. This patch fixes that.
Differential Revision: https://reviews.llvm.org/D96113
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions