File: warn-for-overridden-methods.cpp.expected

package info (click to toggle)
clazy 1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,384 kB
  • sloc: cpp: 24,969; python: 1,429; xml: 448; sh: 237; makefile: 48
file content (6 lines) | stat: -rw-r--r-- 1,234 bytes parent folder | download
1
2
3
4
5
6
function-args-by-value/warn-for-overridden-methods.cpp:6:33: warning: BaseWithVirtuals::virtualMethod1: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/warn-for-overridden-methods.cpp:7:33: warning: BaseWithVirtuals::virtualMethod2: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/warn-for-overridden-methods.cpp:8:27: warning: BaseWithVirtuals::nonVirtualMethod: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/warn-for-overridden-methods.cpp:13:25: warning: DerivedWithVirtuals::virtualMethod1: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/warn-for-overridden-methods.cpp:14:25: warning: DerivedWithVirtuals::virtualMethod2: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/warn-for-overridden-methods.cpp:15:27: warning: DerivedWithVirtuals::nonVirtualMethod: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]