[llvm-commits] [test-suite] r122063 - /test-suite/trunk/SingleSource/UnitTests/block-copied-in-cxxobj-1.cpp

Fariborz Jahanian fjahanian at apple.com
Fri Dec 17 08:37:06 PST 2010


Author: fjahanian
Date: Fri Dec 17 10:37:06 2010
New Revision: 122063

URL: http://llvm.org/viewvc/llvm-project?rev=122063&view=rev
Log:
Remove printf from the test. llvm test infrastructure
does not like that.


Modified:
    test-suite/trunk/SingleSource/UnitTests/block-copied-in-cxxobj-1.cpp

Modified: test-suite/trunk/SingleSource/UnitTests/block-copied-in-cxxobj-1.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/block-copied-in-cxxobj-1.cpp?rev=122063&r1=122062&r2=122063&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/block-copied-in-cxxobj-1.cpp (original)
+++ test-suite/trunk/SingleSource/UnitTests/block-copied-in-cxxobj-1.cpp Fri Dec 17 10:37:06 2010
@@ -11,24 +11,19 @@
 	void *p;
 public:
 	A() throw() {
-		printf("%u\t%p\t%s\n", __LINE__, this, __PRETTY_FUNCTION__);
 	}
 	A(const A &a) throw() : p(a.p) {
-		printf("%u\t%p\t%p\t%s\n", __LINE__, this, &a, __PRETTY_FUNCTION__);
 	}
 	A &operator =(const A &a) throw() {
-		printf("%u\t%p\t%p\t%s\n", __LINE__, this, &a, __PRETTY_FUNCTION__);
 		return *this;
 	}
 	~A() throw() {
-		printf("%u\t%p\t%s\n", __LINE__, this, __PRETTY_FUNCTION__);
 		expected_dtors--;
 		if (expected_dtors < 0) {
 			abort();
 		}
 	}
 	void m() const throw() {
-		printf("%u\t%p\t%s\n", __LINE__, this, __PRETTY_FUNCTION__);
 	}
 };
 





More information about the llvm-commits mailing list