Temporarily Revert "[libc++] Fix -Wdeprecated-copy warnings in __bit_reference"

as it's causing test failures due to mismatched visibility.

This reverts commit 02bb20223b.
This commit is contained in:
Eric Christopher 2019-12-12 00:22:07 -08:00
parent 71aaebc824
commit fa0fc04a4f
2 changed files with 1 additions and 4 deletions

View File

@ -55,7 +55,7 @@ run_lint() {
FILTER=$1
shift
TASK_LOG=$(${MKTEMP})
${CPPLINT} --filter=${FILTER} "$@" 2>$TASK_LOG
${CPPLINT} --quiet --filter=${FILTER} "$@" 2>$TASK_LOG
if [ "$?" != "0" ]; then
cat $TASK_LOG | grep -v "Done processing" | grep -v "Total errors found" \
| grep -v "Skipping input" >> $ERROR_LOG

View File

@ -62,8 +62,6 @@ public:
return *this;
}
__bit_reference(const __bit_reference&) = default;
_LIBCPP_INLINE_VISIBILITY
__bit_reference& operator=(const __bit_reference& __x) _NOEXCEPT
{return operator=(static_cast<bool>(__x));}
@ -150,7 +148,6 @@ private:
: __seg_(__s), __mask_(__m) {}
__bit_const_reference& operator=(const __bit_const_reference& __x);
__bit_const_reference(const __bit_const_reference&) = default;
};
// find