diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2022-12-02 11:41:09 -0800 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2022-12-02 11:41:09 -0800 |
| commit | 1127e479e85011b4284dd5097ca2732347198130 (patch) | |
| tree | 58bacf5fd61212feab9ddd22155968ef70076064 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
| parent | 4e12d1836ae03f1f30226b8c4f2edeef6bf4a650 (diff) | |
| download | llvm-1127e479e85011b4284dd5097ca2732347198130.zip llvm-1127e479e85011b4284dd5097ca2732347198130.tar.gz llvm-1127e479e85011b4284dd5097ca2732347198130.tar.bz2 | |
Don't revisit the subexpressions of PseudoObjectExpr when building a
ParentMap
The assertion that is removed in this patch was failing when ObjC dot
notation expressions appear in both sides of an assignment (see the test
case in arc-repeated-weak.mm). Visit the PseudoObjectExpr once when the
syntactic expression is visited and return without visiting the
subexpressions when it's visited again when the semantic expressions are
visited.
Differential Revision: https://reviews.llvm.org/D139171
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions
