diff options
Diffstat (limited to 'tests/function-args-by-value/warn-for-overridden-methods.cpp.expected')
-rw-r--r-- | tests/function-args-by-value/warn-for-overridden-methods.cpp.expected | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/function-args-by-value/warn-for-overridden-methods.cpp.expected b/tests/function-args-by-value/warn-for-overridden-methods.cpp.expected new file mode 100644 index 00000000..52723a66 --- /dev/null +++ b/tests/function-args-by-value/warn-for-overridden-methods.cpp.expected @@ -0,0 +1,7 @@ +function-args-by-value/warn-for-overridden-methods.cpp:14:10: warning: 'virtualMethod2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] +function-args-by-value/warn-for-overridden-methods.cpp:6:33: warning: Pass small and trivially-copyable type by value (const struct Trivial &) [-Wclazy-function-args-by-value] +function-args-by-value/warn-for-overridden-methods.cpp:7:33: warning: Pass small and trivially-copyable type by value (const struct Trivial &) [-Wclazy-function-args-by-value] +function-args-by-value/warn-for-overridden-methods.cpp:8:27: warning: Pass small and trivially-copyable type by value (const struct Trivial &) [-Wclazy-function-args-by-value] +function-args-by-value/warn-for-overridden-methods.cpp:13:25: warning: Pass small and trivially-copyable type by value (const struct Trivial &) [-Wclazy-function-args-by-value] +function-args-by-value/warn-for-overridden-methods.cpp:14:25: warning: Pass small and trivially-copyable type by value (const struct Trivial &) [-Wclazy-function-args-by-value] +function-args-by-value/warn-for-overridden-methods.cpp:15:27: warning: Pass small and trivially-copyable type by value (const struct Trivial &) [-Wclazy-function-args-by-value] |