repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Backed out 2 changesets (bug 1733498) for causing perma Localised repacks build busta...
[gecko.git]
/
tools
/
clang-tidy
/
test
/
modernize-use-auto.cpp
blob
ba54d0cb8a25e9f53f70f0d683dad74ad6db3295
1
#include <vector>
2
3
void
func
() {
4
int
val
=
42
;
5
std
::
vector
<
int
>
my_container
;
6
for
(
std
::
vector
<
int
>::
iterator I
=
my_container
.
begin
(),
7
E
=
my_container
.
end
();
8
I
!=
E
;
9
++
I
) {
10
}
11
}