-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernized code with clang-tidy [PCL-2731] #4629
Modernized code with clang-tidy [PCL-2731] #4629
Conversation
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
248128c
to
060d963
Compare
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a giant but pretty simple changeset. Reviewed 61/301 files
features/include/pcl/features/statistical_multiscale_interest_region_extraction.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
156/309 reviewed
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's still plenty left (split default).
You can catch them all using `git diff master | grep '^ += default'
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
I ran that regex in my IDE originally. Running this on the command line didn't display any others. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
268/317 done
Almost all other files have similar issues (space or split default)
recognition/include/pcl/recognition/face_detection/rf_face_utils.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
310/316 files reviewed
recognition/include/pcl/recognition/ransac_based/obj_rec_ransac.h
Outdated
Show resolved
Hide resolved
recognition/include/pcl/recognition/ransac_based/obj_rec_ransac.h
Outdated
Show resolved
Hide resolved
recognition/include/pcl/recognition/ransac_based/obj_rec_ransac.h
Outdated
Show resolved
Hide resolved
recognition/include/pcl/recognition/ransac_based/rigid_transform_space.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for bearing with us 😸
Happy to help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, and sorry for the delay
…Library#5310) * Ran clang-tidy-14 on codebase [PCL-5304] * Corrected issues flagged by clang-tidy in CI [PCL-5304] * Fixed out-of-order decl [PCL-5304] * Fixed using declaration [PCL-5304]
Modernization of code base using
clang-tidy
and an innocuous subset of itsmodernize
checks:This PR splits off from #4560; per @kunaltyagi, it enables
clang-tidy
for the entire project, but omits the GitHub Workflow additions that would runclang-tidy
checks in CI.