Warning, /sdk/clazy/docs/checks/README-function-args-by-value.md is written in an unsupported language. File is not indexed.

0001 # function-args-by-value
0002 
0003 Warns when you should be passing by value instead of by-ref.
0004 Types with sizeof <= 16 bytes [1] which are trivially-copyable [2] and trivially-destructible [3] should be passed by value.
0005 
0006 Only fix these warnings if you're sure that the value would be passed in a CPU register instead on the stack.
0007 
0008 - [1] <http://www.macieira.org/blog/2012/02/the-value-of-passing-by-value/>
0009 - [2] <http://en.cppreference.com/w/cpp/concept/TriviallyCopyable>
0010 - [3] <http://www.cplusplus.com/reference/type_traits/is_trivially_destructible/>