From https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html:
This check is responsible for using the auto type specifier for variable declarations to improve code readability and maintainability. For example:
std::vector<int>::iterator I = my_container.begin();
// transforms to:
auto I = my_container.begin();
Comment 1 by bugdroid1@chromium.org
, Oct 2