[
https://issues.apache.org/jira/browse/KUDU-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon reassigned KUDU-143:
--------------------------------
Assignee: (was: Todd Lipcon)
> kudu-lint support to check passing shared ptrs by value
> -------------------------------------------------------
>
> Key: KUDU-143
> URL: https://issues.apache.org/jira/browse/KUDU-143
> Project: Kudu
> Issue Type: Improvement
> Components: build
> Affects Versions: M4
> Reporter: Todd Lipcon
> Priority: Minor
>
> Should add a kudu-lint rule which checks for function parameters which take
> shared_ptr or scoped_refptr by value -- these all end up causing an extra
> refcount increment/decrement with no value -- should always be a const
> reference to the shared/ref ptr instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)