| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This is becoming too big, we should resolve the compilation problems and get it merged it.
Sorry, something went wrong.
* Add clang-tidy configuration file * Cleanup some exception code * Add additional upstream directories to .gitignore * Remove unused parameters from wrap and transform implementations * Fix warnings and removed unused calls
* Add clang-tidy configuration file * Cleanup some exception code * Add additional upstream directories to .gitignore * Remove unused parameters from wrap and transform implementations * Fix warnings and removed unused calls
| Back | FazBrowse Home | New Git URL |
This PR adds a clang-tidy config file and applies the changes to the code. There are many changes that still need to be made but the current state is working and all backends are built with these settings. Many settings were disabled because they produced warnings that were invalid in our code base or would require changes to headers we don't control. Several bugs have been found in the course of this change. I tried to include only changes that did not change the functionality of the code. Bug fixes have been or will be submitted in other PRs.
You can run clang-tidy by passing -DCMAKE_CXX_CLANG_TIDY="clang-tidy". If you want to apply fixes you can pass -DCMAKE_CXX_CLANG_TIDY="clang-tidy;--fix" although this will make some changes in the code below which I want to investigate further.