<div dir="ltr"><div><br></div><div>Here is a topic for updating VTK/Common to use nullptr based on fixes from clang-tidy</div><div><br></div><div><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/3055">https://gitlab.kitware.com/vtk/vtk/merge_requests/3055</a><br></div><div><br></div><div>I just did common as I figured that would impact fewer people. My plan is to do other directories in chunks over time but I can go whole hog and do it all at once if you all think that is better. The change is from Rob's script ala...</div><div><br></div><div><div>#!/bin/bash</div><div><br></div><div># The vtk build must have CMAKE_EXPORT_COMPILE_COMMANDS=ON</div><div><br></div><div>path=$(pwd)</div><div>build_path="/home/ken/Documents/vtk/vtkbin"</div><div>clang_tidy="/usr/bin/clang-tidy"</div><div>args="-checks=-*,modernize-use-nullptr --header-filter=$path -p $build_path -fix"</div><div>for file in $1/*.cxx; do<br></div><div> $clang_tidy $args $file</div><div>done</div></div><div><br></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div></div></div>
</div>