[cfe-commits] r138197 - /cfe/trunk/test/CodeGenCXX/2003-11-25-ReturningOpaqueByValue.cpp

Chandler Carruth chandlerc at gmail.com
Fri Aug 19 23:30:57 PDT 2011


Author: chandlerc
Date: Sat Aug 20 01:30:57 2011
New Revision: 138197

URL: http://llvm.org/viewvc/llvm-project?rev=138197&view=rev
Log:
Remove this test. It requires C++ standard library headers, which we'd
like to avoid within the Clang test suite, it doesn't verify the output
at all so it only servers as a test that Clang doesn't crash, and
finally all it does is declare a function that returns a vector and call
it. Probably the biggest thing being tested here is Clang's parsing of
the vector template, and we have lots of good template parsing tests. We
don't need another in codegen.

Removed:
    cfe/trunk/test/CodeGenCXX/2003-11-25-ReturningOpaqueByValue.cpp

Removed: cfe/trunk/test/CodeGenCXX/2003-11-25-ReturningOpaqueByValue.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/2003-11-25-ReturningOpaqueByValue.cpp?rev=138196&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenCXX/2003-11-25-ReturningOpaqueByValue.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/2003-11-25-ReturningOpaqueByValue.cpp (removed)
@@ -1,13 +0,0 @@
-// RUN: %clang_cc1 -emit-llvm %s -o -
-
-// FIXME: Avoid using system headers. clang cannot handle MS <vector> yet.
-// XFAIL: win32
-#include <vector>
-std::vector<int> my_method ();
-
-int
-main ()
-{
-  my_method ();
-  return 0;
-}





More information about the cfe-commits mailing list