[all-commits] [llvm/llvm-project] 3ffa54: [C++23] Fix infinite recursion (Clang 19.x regress...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Tue Aug 20 00:21:25 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ffa5421ca657c04d4df170307c1f9a3c6293003
      https://github.com/llvm/llvm-project/commit/3ffa5421ca657c04d4df170307c1f9a3c6293003
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-08-20 (Tue, 20 Aug 2024)

  Changed paths:
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/SemaCXX/gh102293.cpp

  Log Message:
  -----------
  [C++23] Fix infinite recursion (Clang 19.x regression) (#104829)

d469794d0cdfd2fea50a6ce0c0e33abb242d744c was fixing an issue with
triggering vtable instantiations, but it accidentally introduced
infinite recursion when the type to be checked is the same as the type
used in a base specifier or field declaration.

Fixes #104802

(cherry picked from commit 435cb0dc5eca08cdd8d9ed0d887fa1693cc2bf33)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list