diff options
author | Eli Friedman <efriedma@quicinc.com> | 2024-04-29 12:00:12 -0700 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2024-05-01 15:56:33 -0700 |
commit | 617a15a9eac96088ae5e9134248d8236e34b91b1 (patch) | |
tree | e9d2cc6ad220dedae13f2324f23924546f91d6ef /clang/docs/ReleaseNotes.rst | |
parent | 20b9ed64ea074f03057e1d775a1d9d0f067ab0b0 (diff) | |
download | llvm-617a15a9eac96088ae5e9134248d8236e34b91b1.zip llvm-617a15a9eac96088ae5e9134248d8236e34b91b1.tar.gz llvm-617a15a9eac96088ae5e9134248d8236e34b91b1.tar.bz2 |
[clang codegen] Fix MS ABI detection of user-provided constructors. (#90151)llvmorg-18.1.5
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)
Diffstat (limited to 'clang/docs/ReleaseNotes.rst')
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 1e88b58..e533ecf 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -149,6 +149,12 @@ ABI Changes in This Version - Following the SystemV ABI for x86-64, ``__int128`` arguments will no longer be split between a register and a stack slot. +- Fixed Microsoft calling convention for returning certain classes with a + templated constructor. If a class has a templated constructor, it should + be returned indirectly even if it meets all the other requirements for + returning a class in a register. This affects some uses of std::pair. + (#GH86384). + AST Dumping Potentially Breaking Changes ---------------------------------------- - When dumping a sugared type, Clang will no longer print the desugared type if |