Skip to content

Commit 71cd7fd

Browse files
committed
fixup! [clang][CodeGen][MSVC] Return vector types from methods indirectly
Tweak wording of ABI note and update release note to say Clang now matches MSVC.
1 parent c6b0cd3 commit 71cd7fd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ C++ Specific Potentially Breaking Changes
9090
ABI Changes in This Version
9191
---------------------------
9292

93-
- Fixed Microsoft calling convention to return vector types from C++ member
94-
functions indirectly. This change resolves incompatibilities with code
95-
compiled by MSVC but will introduce incompatibilities with code compiled by
96-
Clang 21 and earlier versions, unless the ``-fclang-abi-compat=21`` option is
97-
used. (#GH104)
93+
- Fixed Microsoft calling convention to match how MSVC returns vector types from
94+
C++ member functions on x86-64. This change resolves incompatibilities with
95+
code compiled by MSVC but will introduce incompatibilities with code compiled
96+
by Clang 21 and earlier versions, unless the ``-fclang-abi-compat=21`` option
97+
is used. (#GH104)
9898

9999
AST Dumping Potentially Breaking Changes
100100
----------------------------------------

clang/include/clang/Basic/ABIVersions.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ ABI_VER_MAJOR(20)
129129

130130
/// Attempt to be ABI-compatible with code generated by Clang 21.0.x.
131131
/// This causes clang to:
132-
/// - Return vector types directly from member functions on x86 and x86_64 on
133-
/// Windows, which is not compatible with the MSVC ABI.
132+
/// - Always return vector types directly from member functions on x86 and
133+
/// x86_64 on Windows, which is not compatible with the MSVC ABI.
134134
ABI_VER_MAJOR(21)
135135

136136
/// Conform to the underlying platform's C and C++ ABIs as closely as we can.

0 commit comments

Comments
 (0)