[all-commits] [llvm/llvm-project] 20ff4a: [CIR] Handle explicit instantiation declaration in...

AbdallahRashed via All-commits all-commits at lists.llvm.org
Mon Apr 27 10:55:55 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20ff4a1f5c911be0f84a61010ecf6f71caa867b0
      https://github.com/llvm/llvm-project/commit/20ff4a1f5c911be0f84a61010ecf6f71caa867b0
  Author: AbdallahRashed <63146988+AbdallahRashed at users.noreply.github.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenVTables.cpp
    A clang/test/CIR/CodeGen/vtable-linkage-explicit-instantiation.cpp

  Log Message:
  -----------
  [CIR] Handle explicit instantiation declaration in getVTableLinkage (#193809)

Replace errorNYI for TSK_ExplicitInstantiationDeclaration with the
correct linkage logic: use discardable ODR linkage for MSVC, and for
Itanium choose between AvailableExternallyLinkage (when the vtable can
be speculatively emitted) or ExternalLinkage.

Fixes point 3 of #192330.



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