repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
BuildBot fix, compiler complains about array decay to pointer
[llvm-core.git]
/
utils
/
benchmark
/
test
/
link_main_test.cc
blob
241ad5c3905e9f4ca7dfa95f58428c9ba93b9e59
1
#include
"benchmark/benchmark.h"
2
3
void
BM_empty
(
benchmark
::
State
&
state
) {
4
for
(
auto
_
:
state
) {
5
benchmark
::
DoNotOptimize
(
state
.
iterations
());
6
}
7
}
8
BENCHMARK
(
BM_empty
);