You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds an option to run the clang-tidy check when compiling. It is off by default, because it makes compiling slower and is only useful when developing (could turn it on in debug mode in the future). I also am rerunning and fixing a select set of clang-tidy checks clang-tidy now that I am using cpp14. I am not sure whether all changes have to do with c++14 or I just missed them before.
I am also considering adding a test whether there are any issues.
I think these changes are sensible and considerably clean up the code. I also think they best to do right after the release, so that future development for new contributors will hopefully be easier. Although I do not think will make a real git merge conflict, I will wait on merging for #289 since it is nearly almost ready to merge and it includes some header files which will be changed. I don't think I need to wait for #264, since the changes there are not close the the changes in this pull request.
In summary, this modernizes the code for cpp14 in several areas and introduces a few readability improvements. They can be automatically checked and even fixed though cmake, but I don't think I will enforce this strictly for the time being. There is a will also be a follow up pull request to clean the code up even more (remove unused headers and fix some clang warnings (I will also need to add a non-mac clang tester, they are really different in their warnings apparently))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ready to mergePull request is ready to merge. May be waiting for tests to complete or other reviews.
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds an option to run the clang-tidy check when compiling. It is off by default, because it makes compiling slower and is only useful when developing (could turn it on in debug mode in the future). I also am rerunning and fixing a select set of clang-tidy checks clang-tidy now that I am using cpp14. I am not sure whether all changes have to do with c++14 or I just missed them before.
I am also considering adding a test whether there are any issues.