Open
Description
Context
clang-tidy
has been used successfully before to make wide changes. We can use it to improve the API in the whole repo. We need discussion on the potential fix and just applying the other fixes after setting up clang-tidy.
Describe the solution you'd like
Apply the following fixes:
Another potential fix: