@@ -45,9 +45,9 @@ int main() { // ALL: [[@LINE]]| 1|int main() {
45
45
// RUN: FileCheck -check-prefixes=HTML-SHARED,HTML-ALL -input-file=%t.html.dir/coverage/tmp/showTemplateInstantiations.cpp.html %s
46
46
// RUN: FileCheck -check-prefixes=HTML-SHARED,HTML-FILTER -input-file=%t.html.filtered.dir/coverage/tmp/showTemplateInstantiations.cpp.html %s
47
47
48
- // HTML-ALL: <td class='line-number'><a name='L4' href='#L4'><pre>4</pre></a></td><td class='uncovered -line'></td><td class='code'><pre>// before
49
- // HTML-FILTER-NOT: <td class='line-number'><a name='L4' href='#L4'><pre>4</pre></a></td><td class='uncovered -line'></td><td class='code'><pre>// before
50
- // HTML-ALL: <td class='line-number'><a name='L6' href='#L6'><pre>6</pre></a></td><td class='uncovered -line'></td><td class='code'><pre>template<typename T>
48
+ // HTML-ALL: <td class='line-number'><a name='L4' href='#L4'><pre>4</pre></a></td><td class='skipped -line'></td><td class='code'><pre>// before
49
+ // HTML-FILTER-NOT: <td class='line-number'><a name='L4' href='#L4'><pre>4</pre></a></td><td class='skipped -line'></td><td class='code'><pre>// before
50
+ // HTML-ALL: <td class='line-number'><a name='L6' href='#L6'><pre>6</pre></a></td><td class='skipped -line'></td><td class='code'><pre>template<typename T>
51
51
52
52
// HTML-ALL: <div class='source-name-title'><pre>_Z4funcIiEiT_</pre></div>
53
53
// HTML-FILTER-NOT: <div class='source-name-title'><pre>_Z4funcIiEiT_</pre></div><table>
@@ -57,8 +57,12 @@ int main() { // ALL: [[@LINE]]| 1|int main() {
57
57
// HTML-SHARED: <td class='line-number'><a name='L7' href='#L7'><pre>7</pre></a></td><td class='covered-line'><pre>1</pre></td><td class='code'><pre>int func(T x) {
58
58
59
59
// RUN: FileCheck -check-prefix=HTML-JUMP -input-file=%t.html.dir/coverage/tmp/showTemplateInstantiations.cpp.html %s
60
- // HTML-JUMP: <pre>Source (<a href='#L{{[0-9]+}}'>jump to first uncovered line</a>)</pre>
61
- // HTML-JUMP-NOT: <pre>Source (<a href='#L{{[0-9]+}}'>jump to first uncovered line</a>)</pre>
60
+ // HTML-JUMP: <a href='javascript:next_line()'>next uncovered line (L)</a>
61
+ // HTML-JUMP-NOT: <a href='javascript:next_line()'>next uncovered line (L)</a>
62
+ // HTML-JUMP: <a href='javascript:next_region()'>next uncovered region (R)</a>
63
+ // HTML-JUMP-NOT: <a href='javascript:next_region()'>next uncovered region (R)</a>
64
+ // HTML-JUMP: <a href='javascript:next_branch()'>next uncovered branch (B)</a>
65
+ // HTML-JUMP-NOT: <a href='javascript:next_branch()'>next uncovered branch (B)</a>
62
66
63
67
// RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -show-instantiations=false -path-equivalence=/tmp,%S %s | FileCheck -check-prefix=NO_INSTS %s
64
68
// NO_INSTS-NOT: {{^ *}}| _Z4funcIbEiT_:
0 commit comments