[webkit-changes] [WebKit/WebKit] fc1741: Let the compiler generate more operator==() in WTF/

Chris Dumez noreply at github.com
Tue Aug 29 15:45:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fc1741dbad51fcbfcc7b2a85387c97e29caaa03b
      https://github.com/WebKit/WebKit/commit/fc1741dbad51fcbfcc7b2a85387c97e29caaa03b
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M Source/WTF/wtf/Bag.h
    M Source/WTF/wtf/CodePtr.h
    M Source/WTF/wtf/CompactPointerTuple.h
    M Source/WTF/wtf/CountingLock.h
    M Source/WTF/wtf/DateMath.h
    M Source/WTF/wtf/FixedBitVector.h
    M Source/WTF/wtf/FunctionPtr.h
    M Source/WTF/wtf/GenericTimeMixin.h
    M Source/WTF/wtf/LikelyDenseUnsignedIntegerSet.h
    M Source/WTF/wtf/ListHashSet.h
    M Source/WTF/wtf/OptionSet.h
    M Source/WTF/wtf/OrderMaker.h
    M Source/WTF/wtf/Range.h
    M Source/WTF/wtf/RefVector.h
    M Source/WTF/wtf/ReferenceWrapperVector.h
    M Source/WTF/wtf/Seconds.h
    M Source/WTF/wtf/SentinelLinkedList.h
    M Source/WTF/wtf/SingleRootGraph.h
    M Source/WTF/wtf/TimeWithDynamicClockType.h
    M Source/WTF/wtf/UUID.h
    M Source/WTF/wtf/UniqueRefVector.h
    M Source/WTF/wtf/text/CodePointIterator.h
    M Source/WTF/wtf/text/OrdinalNumber.h
    M Source/WTF/wtf/text/TextBreakIterator.h
    M Source/WTF/wtf/text/TextPosition.h

  Log Message:
  -----------
  Let the compiler generate more operator==() in WTF/
https://bugs.webkit.org/show_bug.cgi?id=260840

Reviewed by Alan Baradlay and Darin Adler.

Let the compiler generate more operator==() in WTF/ now that we allow C++20.

* Source/WTF/wtf/Bag.h:
* Source/WTF/wtf/CodePtr.h:
(WTF::CodePtr::operator== const): Deleted.
* Source/WTF/wtf/CompactPointerTuple.h:
* Source/WTF/wtf/CountingLock.h:
* Source/WTF/wtf/DateMath.h:
(WTF::LocalTimeOffset::operator== const): Deleted.
* Source/WTF/wtf/FixedBitVector.h:
(WTF::FixedBitVector::operator== const): Deleted.
* Source/WTF/wtf/FunctionPtr.h:
* Source/WTF/wtf/GenericTimeMixin.h:
(WTF::GenericTimeMixin::operator== const): Deleted.
* Source/WTF/wtf/LikelyDenseUnsignedIntegerSet.h:
(WTF::LikelyDenseUnsignedIntegerSet::iterator::operator== const): Deleted.
* Source/WTF/wtf/ListHashSet.h:
(WTF::ListHashSetIterator::operator== const): Deleted.
* Source/WTF/wtf/OptionSet.h:
(WTF::OptionSet::Iterator::operator== const): Deleted.
(WTF::OptionSet::operator==): Deleted.
* Source/WTF/wtf/OrderMaker.h:
(WTF::OrderMaker::iterator::operator== const): Deleted.
* Source/WTF/wtf/Range.h:
(WTF::Range::operator== const): Deleted.
* Source/WTF/wtf/RefVector.h:
(WTF::RefVectorIterator::operator== const): Deleted.
(WTF::RefVectorConstIterator::operator== const): Deleted.
* Source/WTF/wtf/ReferenceWrapperVector.h:
(WTF::ReferenceWrapperVectorIterator::operator== const): Deleted.
(WTF::ReferenceWrapperVectorConstIterator::operator== const): Deleted.
* Source/WTF/wtf/Seconds.h:
* Source/WTF/wtf/SentinelLinkedList.h:
(WTF::SentinelLinkedList::BaseIterator::operator== const): Deleted.
* Source/WTF/wtf/SingleRootGraph.h:
(WTF::SingleRootGraphNode::operator== const): Deleted.
* Source/WTF/wtf/TimeWithDynamicClockType.h:
* Source/WTF/wtf/UUID.h:
(WTF::UUID::operator== const): Deleted.
* Source/WTF/wtf/UniqueRefVector.h:
(WTF::UniqueRefVectorIterator::operator== const): Deleted.
(WTF::UniqueRefVectorConstIterator::operator== const): Deleted.
* Source/WTF/wtf/text/CodePointIterator.h:
(WTF::CodePointIterator::operator== const): Deleted.
* Source/WTF/wtf/text/OrdinalNumber.h:
(WTF::OrdinalNumber::operator== const): Deleted.
* Source/WTF/wtf/text/TextPosition.h:
(WTF::TextPosition::operator== const): Deleted.

Canonical link: https://commits.webkit.org/267427@main




More information about the webkit-changes mailing list