[all-commits] [llvm/llvm-project] 6811a8: [Clang] Ensure child classes export inherited cons...

Chinmay Deshpande via All-commits all-commits at lists.llvm.org
Thu Mar 5 10:57:35 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6811a83c81500ee373adfc0d9978ff9625a4cf1c
      https://github.com/llvm/llvm-project/commit/6811a83c81500ee373adfc0d9978ff9625a4cf1c
  Author: Chinmay Deshpande <chdeshpa at amd.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/CodeGen/ModuleBuilder.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    A clang/test/CodeGenCXX/dllexport-inherited-ctor.cpp
    M clang/test/SemaCXX/dllexport.cpp

  Log Message:
  -----------
  [Clang] Ensure child classes export inherited constructors from base classes (#182706)

Inherited constructors in `dllexport` classes are now exported for ABI-compatible cases, 
matching MSVC behavior. Constructors with variadic arguments or callee-cleanup 
parameters are not yet supported and produce a warning.

This aims to partially resolve https://github.com/llvm/llvm-project/issues/162640.

Assisted by : Cursor // Claude Opus 4.6



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