diff options
| author | Haojian Wu <hokein.wu@gmail.com> | 2020-06-04 13:22:19 +0200 |
|---|---|---|
| committer | Haojian Wu <hokein.wu@gmail.com> | 2020-06-08 15:31:08 +0200 |
| commit | 28ccd09d700311f0d1ce3828a614aad231bdbb22 (patch) | |
| tree | 2d0c26be4d15701d91783a4acc8129946f7f7943 /llvm/lib/Object/ObjectFile.cpp | |
| parent | 9456bbdd0874e5bd1427222fac2897bc3cbda34d (diff) | |
| download | llvm-28ccd09d700311f0d1ce3828a614aad231bdbb22.zip llvm-28ccd09d700311f0d1ce3828a614aad231bdbb22.tar.gz llvm-28ccd09d700311f0d1ce3828a614aad231bdbb22.tar.bz2 | |
[AST][RecoveryExpr] Populate the dependence bits from CompoundStmt result expr to StmtExpr.
Summary:
We lost errorBit for StmtExpr if a recoveryExpr is the result
expr of a CompoundStmt, which will lead to crashes.
```
// `-StmtExpr
// `-CompoundStmt
// `-RecoveryExp
({ invalid(); });
```
Reviewers: sammccall
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D81154
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
