File: main.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 (11 lines) | stat: -rw-r--r-- 1,857 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
function-args-by-value/main.cpp:150:22: warning: shouldBeByValue: Pass small and trivially-copyable type by value (const Trivial & nt) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:166:11: warning: foo4: Pass small and trivially-copyable type by value (const Trivial & t) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:170:11: warning: foo5: Pass small and trivially-copyable type by value (const Trivial & t) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:174:11: warning: foo6: Pass small and trivially-copyable type by value (const Trivial & t) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:184:16: warning: Base::foo: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:193:19: warning: Derived::foo: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:217:24: warning: trivialByConstRef: Pass small and trivially-copyable type by value (const int & t) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:225:33: warning: BaseWithVirtuals::virtualMethod1: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:226:33: warning: BaseWithVirtuals::virtualMethod2: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:227:27: warning: BaseWithVirtuals::nonVirtualMethod: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]
function-args-by-value/main.cpp:234:27: warning: DerivedWithVirtuals::nonVirtualMethod: Pass small and trivially-copyable type by value (const Trivial &) [-Wclazy-function-args-by-value]