Skip to content

Clang-tidy: google-readability-casting#5785

Merged
sloriot merged 5 commits intoCGAL:masterfrom
maxGimeno:Google-readability-casting-maxGimeno
Sep 2, 2021
Merged

Clang-tidy: google-readability-casting#5785
sloriot merged 5 commits intoCGAL:masterfrom
maxGimeno:Google-readability-casting-maxGimeno

Conversation

@maxGimeno
Copy link
Contributor

Summary of Changes

Apply google-readability-casting to the off plugin.

Release Management

@maxGimeno maxGimeno self-assigned this Jun 18, 2021
@lrineau
Copy link
Member

lrineau commented Jun 18, 2021

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.

@maxGimeno
Copy link
Contributor Author

Appart from that, are you satisfied ? Should I run it on the whole demo ? A whole testsuite ?

@lrineau
Copy link
Member

lrineau commented Jun 18, 2021

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.

@sloriot
Copy link
Member

sloriot commented Aug 30, 2021

@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.

@maxGimeno maxGimeno marked this pull request as ready for review August 31, 2021 08:39
@maxGimeno
Copy link
Contributor Author

@sloriot sloriot merged commit fd94f61 into CGAL:master Sep 2, 2021
@sloriot sloriot deleted the Google-readability-casting-maxGimeno branch September 2, 2021 13:46
@sloriot sloriot self-assigned this Sep 2, 2021
@@ -1,5 +1,5 @@
---
Checks: '-clang-diagnostic*,-clang-analyzer*,modernize-use-nullptr'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we remove modernize-use-nullptr?!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clang-tidy google-readability-casting rule

3 participants