[PATCH] D105533: [clang] Fix an infinite loop during typo-correction

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 9 02:51:01 PDT 2021


hokein added a comment.

In D105533#2865803 <https://reviews.llvm.org/D105533#2865803>, @dgoldman wrote:

> Thanks! Just to confirm, the non-simplified example is also fixed, right?
>
>   struct a {
>     int xxx;
>   };
>   
>   int g_107;
>   int g_108;
>   int g_109;
>   
>   struct a g_999;
>   
>   void b() { (g_910.xxx = g_910.xxx1); }

yeah, it works, added to the test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105533



More information about the cfe-commits mailing list