[all-commits] [llvm/llvm-project] a82225: [Clang] Implement `__builtin_sort_pack` (#225025)
Corentin Jabot via All-commits
all-commits at lists.llvm.org
Wed Sep 30 07:26:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a822257b516c0171efc283c6be5e2fdc3728b5a3
https://github.com/llvm/llvm-project/commit/a822257b516c0171efc283c6be5e2fdc3728b5a3
Author: Corentin Jabot <corentinjabot at gmail.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
M clang/docs/LanguageExtensions.md
M clang/docs/ReleaseNotes.md
M clang/include/clang/Basic/BuiltinTemplates.td
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/Import/builtin-template/Inputs/S.cpp
M clang/test/Import/builtin-template/test.cpp
M clang/test/PCH/dedup_types.cpp
A clang/test/SemaTemplate/sort-types-builtin.cpp
Log Message:
-----------
[Clang] Implement `__builtin_sort_pack` (#225025)
This is a rework of #152118.
Like `__builtin_dedup_pack`, `__builtin_sort_pack` is a builtin that
operates a pack->pack transform, sorting the pack.
This is useful to implement efficiently some libraries like std::exec,
which rely on sorted variants types etc to establish equivalence.
Fixes #154966
Assisted-By: Opus 5.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list