[
https://issues.apache.org/jira/browse/MESOS-3243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213150#comment-15213150
]
Michael Park commented on MESOS-3243:
-------------------------------------
It seems that {{clang-tidy}} was able to replace a {{0}} to {{nullptr}} in an
appropriate call-site.
Were you able to characterize the places where {{clang-tidy}} did not replace
{{NULL}} to {{nullptr}}?
That is, perhaps we were passing {{NULL}} incorrectly to a function takes an
{{int}}?
> Replace NULL with nullptr
> -------------------------
>
> Key: MESOS-3243
> URL: https://issues.apache.org/jira/browse/MESOS-3243
> Project: Mesos
> Issue Type: Improvement
> Reporter: Michael Park
> Assignee: Tomasz Janiszewski
>
> As part of the C++ upgrade, it would be nice to move our use of {{NULL}} over
> to use {{nullptr}}. I think it would be an interesting exercise to do this
> with {{clang-modernize}} using the [nullptr
> transform|http://clang.llvm.org/extra/UseNullptrTransform.html] (although
> it's probably just as easy to use {{sed}}).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)