[PATCH] D84067: Fix issue in typo handling which could lead clang to hang
David Goldman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 17 12:09:09 PDT 2020
dgoldman created this revision.
dgoldman added a reviewer: rsmith.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
We need to detect when certain TypoExprs are not being transformed
due to invalid trees, otherwise we risk endlessly trying to fix it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D84067
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84067.278874.patch
Type: text/x-patch
Size: 4827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200717/b891d160/attachment.bin>
More information about the cfe-commits
mailing list