[compiler-rt] r260052 - Test update : tighten up checks

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 7 12:08:37 PST 2016


Author: davidxl
Date: Sun Feb  7 14:08:36 2016
New Revision: 260052

URL: http://llvm.org/viewvc/llvm-project?rev=260052&view=rev
Log:
Test update : tighten up checks

Modified:
    compiler-rt/trunk/test/profile/Linux/coverage_ctors.cpp
    compiler-rt/trunk/test/profile/Linux/coverage_dtor.cpp

Modified: compiler-rt/trunk/test/profile/Linux/coverage_ctors.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/coverage_ctors.cpp?rev=260052&r1=260051&r2=260052&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/coverage_ctors.cpp (original)
+++ compiler-rt/trunk/test/profile/Linux/coverage_ctors.cpp Sun Feb  7 14:08:36 2016
@@ -15,10 +15,9 @@ struct Base {
 };
 
 struct Derived : public Base {
-  Derived(const Derived &) = default; // CHECK:  2| [[@LINE]]|  Derived
-  Derived() = default;                // CHECK:  1| [[@LINE]]|  Derived
+  Derived(const Derived &) = default; // CHECK:  2| [[@LINE]]|  Derived(const Derived &) = default;
+  Derived() = default;                // CHECK:  1| [[@LINE]]|  Derived() = default
   int I;
-  int J;
   int getI() { return I; }
 };
 

Modified: compiler-rt/trunk/test/profile/Linux/coverage_dtor.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/coverage_dtor.cpp?rev=260052&r1=260051&r2=260052&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/coverage_dtor.cpp (original)
+++ compiler-rt/trunk/test/profile/Linux/coverage_dtor.cpp Sun Feb  7 14:08:36 2016
@@ -10,10 +10,9 @@ struct Base {
 };
 
 struct Derived : public Base {
-  Derived(int K) : Base(K), I(K), J(K) {}
-  ~Derived() = default; // CHECK:  2| [[@LINE]]|  ~Derived
+  Derived(int K) : Base(K), I(K) {}
+  ~Derived() = default; // CHECK:  2| [[@LINE]]|  ~Derived() = default;
   int I;
-  int J;
   int getI() { return I; }
 };
 




More information about the llvm-commits mailing list