diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-02-03 21:35:49 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-02-03 21:35:49 +0000 |
commit | 4da909b2b2a1087e4827ded24fea212016a1a9a0 (patch) | |
tree | f2e786eb4688e15eb21fba16c38f4d40707fe64e /clang/test/CoverageMapping/macroception.c | |
parent | de15817ea20f021f23b47fe0c42317b98302eecc (diff) | |
download | bcm5719-llvm-4da909b2b2a1087e4827ded24fea212016a1a9a0.tar.gz bcm5719-llvm-4da909b2b2a1087e4827ded24fea212016a1a9a0.zip |
InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used
llvm-svn: 228035
Diffstat (limited to 'clang/test/CoverageMapping/macroception.c')
-rw-r--r-- | clang/test/CoverageMapping/macroception.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/clang/test/CoverageMapping/macroception.c b/clang/test/CoverageMapping/macroception.c index edbd84a017d..186f063f9b8 100644 --- a/clang/test/CoverageMapping/macroception.c +++ b/clang/test/CoverageMapping/macroception.c @@ -6,35 +6,35 @@ #define M11 M22 // CHECK-LABEL: main: -int main() M1 // CHECK-NEXT: Expansion,File 0, [[@LINE]]:12 -> [[@LINE]]:14 = #0 (HasCodeBefore = 0, Expanded file = 2) - return 0; // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+1]]:2 = #0 (HasCodeBefore = 0) +int main() M1 // CHECK-NEXT: Expansion,File 0, [[@LINE]]:12 -> [[@LINE]]:14 = #0 (Expanded file = 2) + return 0; // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+1]]:2 = #0 } -// CHECK-NEXT: File 1, 3:12 -> 3:13 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 2, 4:12 -> 4:14 = #0 (HasCodeBefore = 0, Expanded file = 1) +// CHECK-NEXT: File 1, 3:12 -> 3:13 = #0 +// CHECK-NEXT: Expansion,File 2, 4:12 -> 4:14 = #0 (Expanded file = 1) // CHECK-LABEL: func2: -void func2() { // CHECK-NEXT: File 0, [[@LINE]]:14 -> [[@LINE+1]]:12 = #0 (HasCodeBefore = 0) +void func2() { // CHECK-NEXT: File 0, [[@LINE]]:14 -> [[@LINE+1]]:12 = #0 int x = 0; -M11 // CHECK-NEXT: Expansion,File 0, [[@LINE]]:1 -> [[@LINE]]:4 = #0 (HasCodeBefore = 0, Expanded file = 2) -// CHECK-NEXT: File 1, 5:13 -> 5:14 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 2, 6:13 -> 6:16 = #0 (HasCodeBefore = 0, Expanded file = 1) +M11 // CHECK-NEXT: Expansion,File 0, [[@LINE]]:1 -> [[@LINE]]:4 = #0 (Expanded file = 2) +// CHECK-NEXT: File 1, 5:13 -> 5:14 = #0 +// CHECK-NEXT: Expansion,File 2, 6:13 -> 6:16 = #0 (Expanded file = 1) // CHECK-LABEL: func3: -void func3() M1 // CHECK-NEXT: Expansion,File 0, [[@LINE]]:14 -> [[@LINE]]:16 = #0 (HasCodeBefore = 0, Expanded file = 2) - int x = 0; // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE]]:12 = #0 (HasCodeBefore = 0) -M11 // CHECK-NEXT: Expansion,File 0, [[@LINE]]:1 -> [[@LINE]]:4 = #0 (HasCodeBefore = 0, Expanded file = 4) +void func3() M1 // CHECK-NEXT: Expansion,File 0, [[@LINE]]:14 -> [[@LINE]]:16 = #0 (Expanded file = 2) + int x = 0; // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE]]:12 = #0 +M11 // CHECK-NEXT: Expansion,File 0, [[@LINE]]:1 -> [[@LINE]]:4 = #0 (Expanded file = 4) -// CHECK-NEXT: File 1, 3:12 -> 3:13 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 2, 4:12 -> 4:14 = #0 (HasCodeBefore = 0, Expanded file = 1) -// CHECK-NEXT: File 3, 5:13 -> 5:14 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 4, 6:13 -> 6:16 = #0 (HasCodeBefore = 0, Expanded file = 3) +// CHECK-NEXT: File 1, 3:12 -> 3:13 = #0 +// CHECK-NEXT: Expansion,File 2, 4:12 -> 4:14 = #0 (Expanded file = 1) +// CHECK-NEXT: File 3, 5:13 -> 5:14 = #0 +// CHECK-NEXT: Expansion,File 4, 6:13 -> 6:16 = #0 (Expanded file = 3) // CHECK-LABEL: func4: -// CHECK-NEXT: File 0, 3:12 -> 3:13 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 1, 4:12 -> 4:14 = #0 (HasCodeBefore = 0, Expanded file = 0) +// CHECK-NEXT: File 0, 3:12 -> 3:13 = #0 +// CHECK-NEXT: Expansion,File 1, 4:12 -> 4:14 = #0 (Expanded file = 0) void func4() M1 M11 -// CHECK-NEXT: Expansion,File 2, [[@LINE-1]]:14 -> [[@LINE-1]]:16 = #0 (HasCodeBefore = 0, Expanded file = 1) -// CHECK-NEXT: Expansion,File 2, [[@LINE-2]]:17 -> [[@LINE-2]]:20 = #0 (HasCodeBefore = 0, Expanded file = 4) -// CHECK-NEXT: File 3, 5:13 -> 5:14 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 4, 6:13 -> 6:16 = #0 (HasCodeBefore = 0, Expanded file = 3) +// CHECK-NEXT: Expansion,File 2, [[@LINE-1]]:14 -> [[@LINE-1]]:16 = #0 (Expanded file = 1) +// CHECK-NEXT: Expansion,File 2, [[@LINE-2]]:17 -> [[@LINE-2]]:20 = #0 (Expanded file = 4) +// CHECK-NEXT: File 3, 5:13 -> 5:14 = #0 +// CHECK-NEXT: Expansion,File 4, 6:13 -> 6:16 = #0 (Expanded file = 3) |