From: Eric Christopher Date: Thu, 12 Dec 2019 08:22:07 +0000 (-0800) Subject: Temporarily Revert "[libc++] Fix -Wdeprecated-copy warnings in __bit_reference" X-Git-Tag: llvmorg-11-init~2349 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa0fc04a4f950461e3f5675487b477c94e456842;p=platform%2Fupstream%2Fllvm.git Temporarily Revert "[libc++] Fix -Wdeprecated-copy warnings in __bit_reference" as it's causing test failures due to mismatched visibility. This reverts commit 02bb20223bda5add729402962c70d0ebd0d98af2. --- diff --git a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh index fdd8de7..8e624f6 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh +++ b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh @@ -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 diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference index f035eea..05dfbe7 100644 --- a/libcxx/include/__bit_reference +++ b/libcxx/include/__bit_reference @@ -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(__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