Clang-tidy: google-readability-casting#5785
Conversation
|
The 3D demo, with all its OpenGL code, will be an heavy user of casts. Let's hope the patch will be smaller on CGAL headers. |
|
Appart from that, are you satisfied ? Should I run it on the whole demo ? A whole testsuite ? |
Yes: it seems to do what is expected. Have it run a few packages, like Mesh_2 and Mesh_3, to see how it deals with templated code. Then, if those tests are good, we will go on and continue on the whole CGAL testsuite. |
|
@maxGimeno could you please refresh this branch so that it can be tested? We will keep the scope of this PR to the demo. If you have time this week, you can open another for the rest of CGAL. |
|
Successfully tested in https://cgal.geometryfactory.com/CGAL/testsuite/results-5.4-Ic-42.shtml |
| @@ -1,5 +1,5 @@ | |||
| --- | |||
| Checks: '-clang-diagnostic*,-clang-analyzer*,modernize-use-nullptr' | |||
There was a problem hiding this comment.
Why do we remove modernize-use-nullptr?!
There was a problem hiding this comment.
a mistake I'd say. I'll restore it (or you can do it) directly in master once I'm done with checks on another PR.
Summary of Changes
Apply google-readability-casting to the off plugin.
Release Management