We need to detect when certain TypoExprs are not being transformed
due to invalid trees, otherwise we risk endlessly trying to fix it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Paths
| Differential D84067
Fix issue in typo handling which could lead clang to hang ClosedPublic Authored by dgoldman on Jul 17 2020, 12:09 PM.
Details Summary We need to detect when certain TypoExprs are not being transformed
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Jul 17 2020, 4:26 PM Closed by commit rGdde98c82c0ad: Fix issue in typo handling which could lead clang to hang (authored by dgoldman). · Explain WhyJul 20 2020, 8:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 278876 clang/include/clang/Sema/SemaInternal.h
clang/lib/Sema/SemaExprCXX.cpp
clang/test/Sema/typo-correction-no-hang.cpp
clang/test/Sema/typo-correction-recursive.cpp
|