[cfe-commits] r83046 - /cfe/trunk/test/CodeGenCXX/mangle-subst-std.cpp

Anders Carlsson andersca at mac.com
Mon Sep 28 22:36:22 PDT 2009


Author: andersca
Date: Tue Sep 29 00:36:21 2009
New Revision: 83046

URL: http://llvm.org/viewvc/llvm-project?rev=83046&view=rev
Log:
Remove PR5061 workaround.

Modified:
    cfe/trunk/test/CodeGenCXX/mangle-subst-std.cpp

Modified: cfe/trunk/test/CodeGenCXX/mangle-subst-std.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/mangle-subst-std.cpp?rev=83046&r1=83045&r2=83046&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/mangle-subst-std.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/mangle-subst-std.cpp Tue Sep 29 00:36:21 2009
@@ -12,19 +12,15 @@
   template<typename T> struct allocator { };
 }
 
-// FIXME: typename is really not allowed here, but it's kept 
-// as a workaround for PR5061.
 // CHECK: define void @_Z1fSaIcESaIiE
-void f(typename std::allocator<char>, typename std::allocator<int>) { }
+void f(std::allocator<char>, std::allocator<int>) { }
 
 namespace std {
   template<typename T, typename U, typename V> struct basic_string { };
 }
 
-// FIXME: typename is really not allowed here, but it's kept 
-// as a workaround for PR5061.
 // CHECK: define void @_Z1fSbIcciE
-void f(typename std::basic_string<char, char, int>) { }
+void f(std::basic_string<char, char, int>) { }
 
 namespace std {
   template<typename T> struct char_traits { };





More information about the cfe-commits mailing list