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

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Mon Aug 19 00:28:57 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e3026883d77124e32a2a7be72c3361fba3e7457
      https://github.com/llvm/llvm-project/commit/6e3026883d77124e32a2a7be72c3361fba3e7457
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2024-08-19 (Mon, 19 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

(cherry picked from commit d469794d0cdfd2fea50a6ce0c0e33abb242d744c)



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