[all-commits] [llvm/llvm-project] 8643bd: [libc++] Make std::allocator_arg and friends confo...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri Apr 21 14:48:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8643bdd0165c494f86222fe892a7785ef95e1750
https://github.com/llvm/llvm-project/commit/8643bdd0165c494f86222fe892a7785ef95e1750
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-04-21 (Fri, 21 Apr 2023)
Changed paths:
M libcxx/include/__functional/bind.h
M libcxx/include/__memory/allocator_arg_t.h
M libcxx/include/__mutex/tag_types.h
M libcxx/include/__utility/piecewise_construct.h
Log Message:
-----------
[libc++] Make std::allocator_arg and friends conforming in C++17
This patch makes global tag variables like std::allocator_arg
conform to C++17 by defining them as inline constexpr variables.
This is possible without creating an ODR violation now that we don't
define strong definitions of those variables in the shared library
anymore.
Differential Revision: https://reviews.llvm.org/D145589
More information about the All-commits
mailing list