coverage: Update tests to reflect changes from r310012

llvm-svn: 310015
This commit is contained in:
Vedant Kumar 2017-08-04 01:22:19 +00:00
parent fd8c8e9fe6
commit 696e3847dd
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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|}