Changeset 283287 in webkit
- Timestamp:
- Sep 29, 2021, 5:21:20 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 8 edited
-
JavaScriptCore/ChangeLog (modified) (1 diff)
-
JavaScriptCore/bytecode/Operands.h (modified) (1 diff)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/LayoutUnit.h (modified) (2 diffs)
-
WebCore/platform/LengthBox.h (modified) (1 diff)
-
WebCore/platform/RectEdges.h (modified) (1 diff)
-
WebCore/platform/graphics/FontSelectionAlgorithm.h (modified) (1 diff)
-
WebCore/platform/graphics/ImagePaintingOptions.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r283286 r283287 1 2021-09-29 Basuke Suzuki <basuke.suzuki@sony.com> 2 3 Suppress warnings for implicit copy assignment operator/copy constructor with clang 13 4 https://bugs.webkit.org/show_bug.cgi?id=230963 5 6 Reviewed by Mark Lam. 7 8 Added default copy constructor to suppress warning. 9 10 * bytecode/Operands.h: 11 1 12 2021-09-29 Basuke Suzuki <basuke.suzuki@sony.com> 2 13 -
trunk/Source/JavaScriptCore/bytecode/Operands.h
r276224 r283287 69 69 static Operand tmp(uint32_t index) { return Operand(OperandKind::Tmp, index); } 70 70 71 Operand& operator=(const Operand&) = default; 72 71 73 OperandKind kind() const { return m_kind; } 72 74 int value() const { return m_operand; } -
trunk/Source/WebCore/ChangeLog
r283279 r283287 1 2021-09-29 Basuke Suzuki <basuke.suzuki@sony.com> 2 3 Suppress warnings for implicit copy assignment operator/copy constructor with clang 13 4 https://bugs.webkit.org/show_bug.cgi?id=230963 5 6 Reviewed by Mark Lam. 7 8 No new tests because there is no behavior change. 9 10 Added default copy constructor / copy assignment operator to suppress warning. 11 12 * platform/LayoutUnit.h: 13 * platform/LengthBox.h: 14 * platform/RectEdges.h: 15 * platform/graphics/FontSelectionAlgorithm.h: 16 * platform/graphics/ImagePaintingOptions.h: 17 1 18 2021-09-29 Kiet Ho <tho22@apple.com> 2 19 -
trunk/Source/WebCore/platform/LayoutUnit.h
r280632 r283287 66 66 public: 67 67 LayoutUnit() : m_value(0) { } 68 LayoutUnit(const LayoutUnit&) = default; 68 69 LayoutUnit(int value) { setValue(value); } 69 70 LayoutUnit(unsigned short value) { setValue(value); } … … 86 87 } 87 88 88 LayoutUnit& operator=(const LayoutUnit& other) = default;89 LayoutUnit& operator=(const LayoutUnit&) = default; 89 90 LayoutUnit& operator=(const float& other) { return *this = LayoutUnit(other); } 90 91 -
trunk/Source/WebCore/platform/LengthBox.h
r276138 r283287 56 56 57 57 LengthBox(const LengthBox&) = default; 58 LengthBox& operator=(const LengthBox&) = default; 58 59 59 60 bool isZero() const -
trunk/Source/WebCore/platform/RectEdges.h
r278985 r283287 47 47 48 48 RectEdges(const RectEdges&) = default; 49 RectEdges& operator=(const RectEdges&) = default; 49 50 50 51 template<typename U> -
trunk/Source/WebCore/platform/graphics/FontSelectionAlgorithm.h
r278340 r283287 427 427 using Range = FontSelectionRange; 428 428 429 FontSelectionCapabilities() = default; 430 FontSelectionCapabilities(const FontSelectionCapabilities&) = default; 429 431 FontSelectionCapabilities& operator=(const FontSelectionCapabilities&) = default; 430 432 -
trunk/Source/WebCore/platform/graphics/ImagePaintingOptions.h
r278253 r283287 48 48 ImagePaintingOptions() = default; 49 49 ImagePaintingOptions(const ImagePaintingOptions&) = default; 50 ImagePaintingOptions& operator=(const ImagePaintingOptions&) = default; 50 51 51 52 CompositeOperator compositeOperator() const { return m_compositeOperator; }
Note:
See TracChangeset
for help on using the changeset viewer.