repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Driver
/
ftime-trace-sections.cpp
blob
0c16052bc0c3a2e5e77950df8d83fd7e084fe3a4
1
// RUN: rm -rf %t && mkdir %t && cd %t
2
// RUN: %clangxx -S -ftime-trace -ftime-trace-granularity=0 -o out %s
3
// RUN: %python %S/ftime-trace-sections.py < out.json
4
5
template
<
typename T
>
6
void
foo
(
T
) {}
7
void
bar
() {
foo
(
0
); }