[llvm-commits] [llvm] r120721 - /llvm/trunk/test/FrontendC++/2003-10-21-InnerClass.cpp

Duncan Sands baldrick at free.fr
Thu Dec 2 10:19:23 PST 2010


Author: baldrick
Date: Thu Dec  2 12:19:23 2010
New Revision: 120721

URL: http://llvm.org/viewvc/llvm-project?rev=120721&view=rev
Log:
This test dates from the time when llvm-gcc had problems if two types were
named the same, so it had to qualify type names according to the enclosing
scope to ensure uniqueness.  This is no longer needed for correctness (though
it may be helpful when reading the IR), so this test has lost its importance.
Zap it because dragonegg will never be able to produce the qualified type name
since modern gcc zaps language specific info (such as whether a type is nested
inside another - needed to get X::Y here) before dragonegg is reached.

Removed:
    llvm/trunk/test/FrontendC++/2003-10-21-InnerClass.cpp

Removed: llvm/trunk/test/FrontendC++/2003-10-21-InnerClass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2003-10-21-InnerClass.cpp?rev=120720&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC++/2003-10-21-InnerClass.cpp (original)
+++ llvm/trunk/test/FrontendC++/2003-10-21-InnerClass.cpp (removed)
@@ -1,12 +0,0 @@
-// RUN: %llvmgcc -xc++ -S -o - %s | grep {struct.X::Y}
-struct X {
-
-  struct Y {
-    Y();
-  };
-
-};
-
-X::Y::Y() {
-
-}





More information about the llvm-commits mailing list