aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CoverageMapping/nestedclass.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-08-09 03:55:09 +0000
committerJustin Bogner <mail@justinbogner.com>2014-08-09 03:55:09 +0000
commita0101074fd8447028909dfb38efcb583f0204c84 (patch)
treefe74855e8c265ac64e7ef0fee04775bef7ff6e1d /clang/test/CoverageMapping/nestedclass.cpp
parent996a0ef99eb84da6e908866b6a451371adcdae04 (diff)
downloadllvm-a0101074fd8447028909dfb38efcb583f0204c84.zip
llvm-a0101074fd8447028909dfb38efcb583f0204c84.tar.gz
llvm-a0101074fd8447028909dfb38efcb583f0204c84.tar.bz2
Revert "Add tests for coverage mapping generation."
I reverted one of the added tests from r215261 in r215274, since it was failing on quite a few bots. It looks like this wasn't sufficient, as we're still getting failures on windows, like the following: http://bb.pgr.jp/builders/ninja-x64-msvc-RA-centos6/builds/5378 I'm reverting this entire commit so the bots aren't blocked on these failures. This reverts commit r215261. llvm-svn: 215278
Diffstat (limited to 'clang/test/CoverageMapping/nestedclass.cpp')
-rw-r--r--clang/test/CoverageMapping/nestedclass.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/clang/test/CoverageMapping/nestedclass.cpp b/clang/test/CoverageMapping/nestedclass.cpp
deleted file mode 100644
index d04bb75..0000000
--- a/clang/test/CoverageMapping/nestedclass.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-// RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name nestedclass.cpp %s | FileCheck %s
-
-struct Test {
- void emitTest() {
- int i = 0;
- }
- struct Test2 {
- void emitTest2() {
- int i = 0;
- }
- struct Test3 {
- static void emitTest3() {
- int i = 0;
- }
- };
- };
-};
-
-// CHECK: emitTest2
-// CHECK-NEXT: File 0, 8:22 -> 10:6 = #0 (HasCodeBefore = 0)
-
-// CHECK-NEXT: emitTest
-// CHECK-NEXT: File 0, 4:19 -> 6:4 = #0 (HasCodeBefore = 0)
-
-// CHECK-NEXT: emitTest3
-// CHECK-NEXT: File 0, 12:31 -> 14:8 = 0 (HasCodeBefore = 0)
-
-int main() {
- Test t;
- Test::Test2 t2;
- t.emitTest();
- t2.emitTest2();
- return 0;
-}