[all-commits] [llvm/llvm-project] dde98c: Fix issue in typo handling which could lead clang ...
David Goldman via All-commits
all-commits at lists.llvm.org
Mon Jul 20 08:42:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dde98c82c0ad02410229e7e5c9efcbb0ab42a995
https://github.com/llvm/llvm-project/commit/dde98c82c0ad02410229e7e5c9efcbb0ab42a995
Author: David Goldman <davg at google.com>
Date: 2020-07-20 (Mon, 20 Jul 2020)
Changed paths:
M clang/include/clang/Sema/SemaInternal.h
M clang/lib/Sema/SemaExprCXX.cpp
A clang/test/Sema/typo-correction-no-hang.cpp
M clang/test/Sema/typo-correction-recursive.cpp
Log Message:
-----------
Fix issue in typo handling which could lead clang to hang
Summary:
We need to detect when certain TypoExprs are not being transformed
due to invalid trees, otherwise we risk endlessly trying to fix it.
Reviewers: rsmith
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D84067
More information about the All-commits
mailing list