[PATCH] D126818: Itanium ABI: Implement mangling for constrained friends
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 1 13:23:12 PDT 2022
erichkeane created this revision.
erichkeane added reviewers: rjmccall, clang-language-wg.
Herald added a project: All.
erichkeane requested review of this revision.
Thanks to concepts, C++ can now have friends that differ by their
containing function. Because of this, we need to differentiate ones
from different instantiations. This patch implements itanium-cxx-abi
issue #24 (https://github.com/itanium-cxx-abi/cxx-abi/issues/24).
In addition to mangling the containing scope, this ALSO adds the 'F'
differentiator as proposed.
https://reviews.llvm.org/D126818
Files:
clang/include/clang/AST/Decl.h
clang/lib/AST/Decl.cpp
clang/lib/AST/ItaniumMangle.cpp
clang/test/CodeGenCXX/friend-concepts.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126818.433517.patch
Type: text/x-patch
Size: 6741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220601/1b0b95b2/attachment.bin>
More information about the cfe-commits
mailing list