[all-commits] [llvm/llvm-project] ea623a: [C++20] [Modules] Avoid inifinite loop when iterat...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Jul 21 02:25:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea623af7c90f0c02fed72010a018cb1e259cca8d
      https://github.com/llvm/llvm-project/commit/ea623af7c90f0c02fed72010a018cb1e259cca8d
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M clang/lib/Sema/SemaLookup.cpp
    A clang/test/Modules/inherited_arg.cppm

  Log Message:
  -----------
  [C++20] [Modules] Avoid inifinite loop when iterating default args

Currently, clang may meet an infinite loop in a very tricky case when it
iterates the default args. This patch tries to fix this by adding a
`fixed` check.




More information about the All-commits mailing list