clang-tidy: Silence use-equals-default warning
clang-tidy 7 has an option to suppress this warning in macros which defaults to '1'. Set the option to '0' and silence the warning explicitly.
clang-tidy 7 has an option to suppress this warning in macros which defaults to '1'. Set the option to '0' and silence the warning explicitly.
Step 1. Fetch and check out the branch for this merge request
git fetch "https://gitlab.kitware.com/wahikihiki/cmake.git" "tidy-use-equals-default-fix" git checkout -b "wahikihiki/cmake-tidy-use-equals-default-fix" FETCH_HEAD
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout "origin/master" git merge --no-ff "wahikihiki/cmake-tidy-use-equals-default-fix"
Step 4. Push the result of the merge to GitLab
git push origin "master"
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.
This will create a new commit in order to revert the existing changes.