Modernize using clang-tidy
The following checks were ran:
modernize-use-auto modernize-use-bool-literals modernize-use-nullptr modernize-use-override