[all-commits] [llvm/llvm-project] d46979: [clang] Avoid triggering vtable instantiation for ...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Mon Aug 12 00:09:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d469794d0cdfd2fea50a6ce0c0e33abb242d744c
      https://github.com/llvm/llvm-project/commit/d469794d0cdfd2fea50a6ce0c0e33abb242d744c
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

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

  Log Message:
  -----------
  [clang] Avoid triggering vtable instantiation for C++23 constexpr dtor (#102605)

In C++23 anything can be constexpr, including a dtor of a class whose
members and bases don't have constexpr dtors. Avoid early triggering of
vtable instantiation int this case.

Fixes https://github.com/llvm/llvm-project/issues/102293



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