[libcxx-commits] [clang] [libcxx] [clang & libcxx] constexpr pointer tagging (DO NOT MERGE) (PR #111861)
William Tran-Viet via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 15 08:58:13 PDT 2026
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hanicka at hanicka.net>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/111861 at github.com>
smallp-o-p wrote:
This has gotten suddenly relevant for libc++ in #203782, where we're using a tagged pointer as the basis for an iterator. I wonder if it might be feasible to bring forward the `clang` side of the changes and leverage the added builtins wherever possible, so that things like `optional::iterator` are allowed to be `constexpr`, at least for `clang`.
WDYT @ldionne
This would also require some kind of discussion with the Clang folks I assume.
https://github.com/llvm/llvm-project/pull/111861
More information about the libcxx-commits
mailing list