Bug ID: 391812
Summary: False positive for check "function-args-by-value"
Target Milestone: ---
I am not sure if this is worth to fix but anyway.
For virtual method
virtual void updateState(const QPaintEngineState &state) = 0;
i declare implementation like this
virtual void updateState(const QPaintEngineState &state) Q_DECL_OVERRIDE;
Because class QPaintEngineState is trivial i get warning
"function-args-by-value". And i cannot fix declaration because this breaks
overload. And also i cannot fix class QPaintEngine because it is part of Qt
Of course i can suppress the warning, but still, if clazy would be little bit
smarter and ignore such cases from system headers. Don't know how good the idea
is, maybe not really. But it is natural to want reduce any noise if nothing you
can do about it.
You are receiving this mail because:
You are watching all bug changes.