diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2020-09-22 20:20:42 +0200 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2020-09-22 20:21:21 +0200 |
commit | 16ca711803300bd966acf8759876a1ccd478c616 (patch) | |
tree | 73eac2830415a72a8de56d4d4a72bd36d551b37a /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 5ae94047bff1e2c92f9507443bf97ff39ee8243b (diff) | |
download | llvm-16ca711803300bd966acf8759876a1ccd478c616.zip llvm-16ca711803300bd966acf8759876a1ccd478c616.tar.gz llvm-16ca711803300bd966acf8759876a1ccd478c616.tar.bz2 |
[clang] Fix a typo-correction crash
We leave a dangling TypoExpr when typo-correction is performed
successfully in `checkArgsForPlaceholders`, which leads a crash in the
later TypoCorrection.
This code was added in https://github.com/llvm/llvm-project/commit/1586782767938df3a20f7abc4d8335c48b100bc4,
and it didn't seem to have enough test coverage.
The fix is to remove this part, and no failuer tests.
Reviewed By: rsmith
Differential Revision: https://reviews.llvm.org/D87815
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions