[all-commits] [llvm/llvm-project] 7a2b70: [Sema][Typo Correction] Fix another infinite loop ...

David Goldman via All-commits all-commits at lists.llvm.org
Fri Oct 25 10:21:19 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a2b704bf0cf65f9eb46fe3668a83b75aa2d80a6
      https://github.com/llvm/llvm-project/commit/7a2b704bf0cf65f9eb46fe3668a83b75aa2d80a6
  Author: David Goldman <davg at google.com>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M clang/lib/Sema/SemaExprCXX.cpp
    A clang/test/Sema/typo-correction-ambiguity.c

  Log Message:
  -----------
  [Sema][Typo Correction] Fix another infinite loop on ambiguity

See also: D67515

- For the given call expression we would end up repeatedly
   trying to transform the same expression over and over again

- Fix is to keep the old TransformCache when checking for ambiguity

Differential Revision: https://reviews.llvm.org/D69060




More information about the All-commits mailing list