Repository navigation
Clang tidy core - #746
Clang tidy core#746BryceStevenWilley wants to merge 37 commits into
Conversation
|
Hey there, most changes look alright. On dca3919 and 4a082b3 : What is 050f998 about? Most of the changes there are uncalled for or make no sense semantically. |
|
Understandable, 050f998 was checking to see if the parameter names in the function declaration matched the same name in the function definition, and it copied the name over from the definition if they didn't match. Looking at the specific changes though, I agree that the new names aren't as good. I'll take a look at this soon and try to choose the better of the two names. |
|
I agree with @BryceStevenWilley regarding use of |
Used original name from *.h if it had more information than the name from the *.cpp file, changed method comments to reflect name changes, fixed comment spacing if needed.
Used original name from *.h if it had more information than the name from the *.cpp file, changed method comments to reflect name changes, fixed comment spacing if needed.
|
I'm a fan of this, including |
|
Possible merge ping. Merge conflicts gather up pretty quickly. |
|
@BryceStevenWilley I'm sorry that we were so slow on merging this. However, I think instead of merging your branch into the current HEAD you should have rebased onto the current HEAD. Now the commit history as well as githhub's diff are messed up. Please can you fix this by rebasing your PR branch onto HEAD? @v4hn @davetcoleman Did we agree on the set of tidy changes to apply? Should we discuss that on the next maintainer meeting and then tackle this PR from scratch? |
|
I feel ok with the sparing use of The other two commits that @v4hn brought up seem fine to me after @BryceStevenWilley's explanation We can discuss auto further at the next meeting |
|
@rhaschke I couldn't clean the commit history on this particular branch, but I've made a duplicate PR (#880) to address the history issue. This isn't the first time you've pointed out my messy merge history, I'll try to rebase more in the future. 😅. @davetcoleman The auto changes have been removed in #880, I'll close this PR. Sorry for the noise. |
Description
Extended clang-tidy from collision_detection (#693) to the rest of moveit_core. Each commit is a specific clang-tidy check, it's probably easier to browse through each commit individually.
To keep this commit manageable, I only did clang-tidy checks that included automatic/simple fixes. In the future, we should look into enabling and fixing checks like cppcoreguidelines-* (http://releases.llvm.org/3.8.0/tools/clang/tools/extra/docs/clang-tidy/checks/list.html), as those are the most likely to result in fewer segfaults and silent bugs.
Checklist