[clazy] [Bug 443343] New: clazy-rule-of-two-soft ignores "= default"
David Faure
bugzilla_noreply at kde.org
Tue Oct 5 10:37:31 BST 2021
https://bugs.kde.org/show_bug.cgi?id=443343
Bug ID: 443343
Summary: clazy-rule-of-two-soft ignores "= default"
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: faure at kde.org
CC: smartins at kde.org
Target Milestone: ---
Created attachment 142164
--> https://bugs.kde.org/attachment.cgi?id=142164&action=edit
sol-static-members.cpp
SUMMARY
Clazy warns about line 70 (c3 = c2) in the attached file, saying "no assign
operator". But there is an assign operator, it's just implemented by "=
default".
STEPS TO REPRODUCE
1. Open file in QtCreator
OBSERVED RESULT
Warning on line 70
EXPECTED RESULT
No warning
SOFTWARE/OS VERSIONS
On the command line, clazy --version
clazy version: 1.10
clang version: 12.0.1
but I don't know if QtCreator uses that or has its own.
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list