[clazy] [Bug 360112] New: function-args-by-ref triggers on (deleted) copy ctor
Volker Krause via KDE Bugzilla
bugzilla_noreply at kde.org
Sat Mar 5 10:58:41 GMT 2016
https://bugs.kde.org/show_bug.cgi?id=360112
Bug ID: 360112
Summary: function-args-by-ref triggers on (deleted) copy ctor
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: vkrause at kde.org
CC: smartins at kde.org
/k/qt5-dev/inst/include/QtCore/qmetatype.h:324:5: warning: Pass small and
trivially-copyable type by value (const struct
QtPrivate::AbstractConverterFunction &) [-Wclazy-function-args-by-ref]
Q_DISABLE_COPY(AbstractConverterFunction)
^
/k/qt5-dev/inst/include/QtCore/qglobal.h:324:11: note: expanded from macro
'Q_DISABLE_COPY'
Class(const Class &) Q_DECL_EQ_DELETE;\
^
Reproducible: Always
Expected Results:
The check probably should ignore both copy ctors and deleted functions?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list