[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
Mon Aug 5 12:47:29 PDT 2019


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

Fix test failure via `TransformTypos`

- Add a new property on Sema to track newly created Typos and use this from within TransformTypos in order to delete any Typos that are unreachable (tested in typo-correction-cxx11.cpp)


Repository:
  rC Clang

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

https://reviews.llvm.org/D62648

Files:
  include/clang/Sema/Sema.h
  lib/Sema/SemaExprCXX.cpp
  lib/Sema/SemaLookup.cpp
  test/Sema/typo-correction-recursive.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62648.213437.patch
Type: text/x-patch
Size: 13794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190805/6b6002a8/attachment.bin>


More information about the cfe-commits mailing list