[all-commits] [llvm/llvm-project] f86c2b: [libc++] Add `explicit` to a bunch of internal det...
Quuxplusone via All-commits
all-commits at lists.llvm.org
Tue Mar 1 11:37:26 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f86c2b6f1f3682cef24fb74edd5d02eb8f2707f7
https://github.com/llvm/llvm-project/commit/f86c2b6f1f3682cef24fb74edd5d02eb8f2707f7
Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
Date: 2022-03-01 (Tue, 01 Mar 2022)
Changed paths:
M libcxx/include/__bit_reference
M libcxx/include/__debug
M libcxx/include/__hash_table
M libcxx/include/__iterator/common_iterator.h
M libcxx/include/__iterator/istreambuf_iterator.h
M libcxx/include/__memory/compressed_pair.h
M libcxx/include/__string
M libcxx/include/deque
M libcxx/include/iomanip
Log Message:
-----------
[libc++] Add `explicit` to a bunch of internal detail ctors.
Notably the following ctors remain non-explicit because they
are used as implicit conversions in too many places:
* __debug_less(_Compare&)
* __map_iterator(_TreeIterator)
* __map_const_iterator(_TreeIterator)
* __hash_map_iterator(_HashIterator)
* __hash_map_const_iterator(_HashIterator)
Differential Revision: https://reviews.llvm.org/D119894
More information about the All-commits
mailing list