summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/modernize-use-auto.cpp
blob: ba54d0cb8a25e9f53f70f0d683dad74ad6db3295 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <vector>

void func() {
  int val = 42;
  std::vector<int> my_container;
  for (std::vector<int>::iterator I = my_container.begin(),
                                  E = my_container.end();
       I != E;
       ++I) {
  }
}