aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2023-02-25 15:24:57 +0100
committerMark de Wever <koraq@xs4all.nl>2023-02-27 19:23:13 +0100
commitf41f392520935ff78f211f48240c46d6c715fd13 (patch)
treebc68f206e1e1aabdd38a63a06a61dc1274c2574e /libcxx/include/algorithm
parent86bdcdf00e82865ee7ae3fcbf843a47235851817 (diff)
downloadllvm-f41f392520935ff78f211f48240c46d6c715fd13.zip
llvm-f41f392520935ff78f211f48240c46d6c715fd13.tar.gz
llvm-f41f392520935ff78f211f48240c46d6c715fd13.tar.bz2
[libc++] Fixes operator& hijacking atomic types.
This uses std::addressof everywherein atomic. This is not strictly needed for the integral and floating point specializations. They should not be used by user defined types. But it's easier to fix everything. Note these changes are made using a WIP clang-tidy plugin. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D144786
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions