Bug 230963 - Suppress warnings for implicit copy assignment operator/copy constructor with clang 13
Summary: Suppress warnings for implicit copy assignment operator/copy constructor with...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Basuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-29 09:48 PDT by Basuke Suzuki
Modified: 2021-09-29 17:22 PDT (History)
11 users (show)

See Also:


Attachments
PATCH (5.15 KB, patch)
2021-09-29 10:42 PDT, Basuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Basuke Suzuki 2021-09-29 09:48:54 PDT
Tons of warnings with clang 13

../../Source/JavaScriptCore/bytecode/Operands.h:52:5: warning: definition of implicit copy assignment operator for 'Operand' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    Operand(const Operand&) = default;

../../Source/WebCore/platform\LayoutUnit.h:88:17: warning: definition of implicit copy constructor for 'LayoutUnit' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    LayoutUnit& operator=(const LayoutUnit& other) = default;
Comment 1 Basuke Suzuki 2021-09-29 10:42:20 PDT
Created attachment 439625 [details]
PATCH
Comment 2 Mark Lam 2021-09-29 10:56:38 PDT
Comment on attachment 439625 [details]
PATCH

r=me
Comment 3 Basuke Suzuki 2021-09-29 16:07:59 PDT
Thanks Mark!
Comment 4 EWS 2021-09-29 17:21:27 PDT
Committed r283287 (242314@main): <https://commits.webkit.org/242314@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 439625 [details].
Comment 5 Radar WebKit Bug Importer 2021-09-29 17:22:25 PDT
<rdar://problem/83696087>