[clang codegen] Fix MS ABI detection of user-provided constructors. (#90151)llvmorg-18.1.5
commit617a15a9eac96088ae5e9134248d8236e34b91b1
authorEli Friedman <efriedma@quicinc.com>
Mon, 29 Apr 2024 19:00:12 +0000 (29 12:00 -0700)
committerTom Stellard <tstellar@redhat.com>
Wed, 1 May 2024 22:56:33 +0000 (1 15:56 -0700)
treee9d2cc6ad220dedae13f2324f23924546f91d6ef
parent20b9ed64ea074f03057e1d775a1d9d0f067ab0b0
[clang codegen] Fix MS ABI detection of user-provided constructors. (#90151)

In the context of determining whether a class counts as an "aggregate",
a constructor template counts as a user-provided constructor.

Fixes #86384

(cherry picked from commit 3ab4ae9e58c09dfd8203547ba8916f3458a0a481)
clang/docs/ReleaseNotes.rst
clang/lib/CodeGen/MicrosoftCXXABI.cpp
clang/test/CodeGen/arm64-microsoft-arguments.cpp