forked from OSchip/llvm-project
coverage: Update tests to reflect changes from r310012
llvm-svn: 310015
This commit is contained in:
parent
fd8c8e9fe6
commit
696e3847dd
|
@ -3,7 +3,7 @@ template <typename T> struct Test {
|
|||
void doIt(int N) { // CHECK: [[@LINE]]| 2| void doIt
|
||||
if (N > 10) { // CHECK: [[@LINE]]| 2| if (N > 10) {
|
||||
M += 2; // CHECK: [[@LINE]]| 1| M += 2;
|
||||
} else // CHECK: [[@LINE]]| 1| } else
|
||||
} else // CHECK: [[@LINE]]| 2| } else
|
||||
M -= 2; // CHECK: [[@LINE]]| 1| M -= 2;
|
||||
}
|
||||
T M;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
void foo(bool cond) { // CHECK: [[@LINE]]| 1|void foo(
|
||||
if (cond) { // CHECK: [[@LINE]]| 1| if (cond) {
|
||||
} // CHECK: [[@LINE]]| 0| }
|
||||
} // CHECK: [[@LINE]]| 1| }
|
||||
} // CHECK: [[@LINE]]| 1|}
|
||||
void bar() { // CHECK: [[@LINE]]| 1|void bar() {
|
||||
} // CHECK: [[@LINE]]| 1|}
|
||||
|
|
Loading…
Reference in New Issue