[PATCH] D62648: [Sema][Typo] Fix assertion failure for expressions with multiple typos

David Goldman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 25 07:58:59 PDT 2019


dgoldman updated this revision to Diff 211757.
dgoldman added a comment.

- Fix test failure: typo-correction-cxx11.cpp

Make sure that `TryTransform` clears any TypoExprs that are created
if it returns an invalid ExprResult (as the new TypoExprs are unreachable
from the result).


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62648/new/

https://reviews.llvm.org/D62648

Files:
  lib/Sema/SemaExprCXX.cpp
  lib/Sema/TreeTransform.h
  test/Sema/typo-correction-recursive.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62648.211757.patch
Type: text/x-patch
Size: 16244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190725/67a6a017/attachment-0001.bin>


More information about the cfe-commits mailing list