Skip to content

release/20.x: [Clang][ReleaseNotes] Document -fclang-abi-compat=19 re: #110503 #125368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

hubert-reinterpretcast
Copy link
Collaborator

#110503 updates the scope of -fclang-abi-compat but did not make that
clear in the release notes. This PR addresses that problem.

#110503 updates the scope of `-fclang-abi-compat` but did not make that
clear in the release notes. This PR addresses that problem.
@hubert-reinterpretcast hubert-reinterpretcast self-assigned this Feb 1, 2025
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Feb 1, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 1, 2025

@llvm/pr-subscribers-clang

Author: Hubert Tong (hubert-reinterpretcast)

Changes

#110503 updates the scope of -fclang-abi-compat but did not make that
clear in the release notes. This PR addresses that problem.


Full diff: https://github.com/llvm/llvm-project/pull/125368.diff

1 Files Affected:

  • (modified) clang/docs/ReleaseNotes.rst (+1-1)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 88c9fc8f95e4a1..53534d821b2c9a 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -252,7 +252,7 @@ ABI Changes in This Version
 
 - Fixed Microsoft name mangling of placeholder, auto and decltype(auto), return types for MSVC 1920+. This change resolves incompatibilities with code compiled by MSVC 1920+ but will introduce incompatibilities with code compiled by earlier versions of Clang unless such code is built with the compiler option -fms-compatibility-version=19.14 to imitate the MSVC 1914 mangling behavior.
 - Fixed the Itanium mangling of the construction vtable name. This change will introduce incompatibilities with code compiled by Clang 19 and earlier versions, unless the -fclang-abi-compat=19 option is used. (#GH108015)
-- Mangle member-like friend function templates as members of the enclosing class. (#GH110247, #GH110503)
+- Mangle member-like friend function templates as members of the enclosing class. This can be disabled using -fclang-abi-compat=19. (#GH110247, #GH110503)
 
 AST Dumping Potentially Breaking Changes
 ----------------------------------------

@tstellar tstellar added this to the LLVM 20.X Release milestone Feb 2, 2025
@tstellar tstellar merged commit 1eb7f4e into release/20.x Feb 2, 2025
18 checks passed
@tstellar tstellar deleted the users/hubert-reinterpretcast/llvm20-clang-release-notes-fclang-abi-compat-re110503 branch February 2, 2025 01:04
@tstellar
Copy link
Collaborator

tstellar commented Feb 2, 2025

Sorry, I didn't realize a review was requested on this. I usually merge release notes patches right away. I'll keep this in -rc1 and any follow up changes can be made for -rc2.

@rjmccall
Copy link
Contributor

rjmccall commented Feb 3, 2025

It's approved anyway. Thanks, Tom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
Development

Successfully merging this pull request may close these issues.

4 participants