r174953 - Attempt to fix this test on i686 targets.

David Tweed david.tweed at arm.com
Tue Feb 12 02:14:44 PST 2013


Thanks for doing this. This is needed to make the test pass on any 32 bit
target (eg, 32-bit ARM as well as i686).

Cheers

-----Original Message-----
From: cfe-commits-bounces at cs.uiuc.edu
[mailto:cfe-commits-bounces at cs.uiuc.edu] On Behalf Of Nick Lewycky
Sent: 12 February 2013 08:59
To: cfe-commits at cs.uiuc.edu
Subject: r174953 - Attempt to fix this test on i686 targets.

Author: nicholas
Date: Tue Feb 12 02:59:01 2013
New Revision: 174953

URL: http://llvm.org/viewvc/llvm-project?rev=174953&view=rev
Log:
Attempt to fix this test on i686 targets.

Modified:
    cfe/trunk/test/SemaCXX/attr-deprecated.cpp

Modified: cfe/trunk/test/SemaCXX/attr-deprecated.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/attr-deprecated.c
pp?rev=174953&r1=174952&r2=174953&view=diff
============================================================================
==
--- cfe/trunk/test/SemaCXX/attr-deprecated.cpp (original)
+++ cfe/trunk/test/SemaCXX/attr-deprecated.cpp Tue Feb 12 02:59:01 2013
@@ -236,7 +236,7 @@ namespace test6 {
 
 namespace test7 {
   struct X {
-    void* operator new(unsigned long) __attribute__((deprecated));  //
expected-note{{'operator new' declared here}}
+    void* operator new(typeof(sizeof(void*))) __attribute__((deprecated));
// expected-note{{'operator new' declared here}}
     void operator delete(void *) __attribute__((deprecated));  //
expected-note{{'operator delete' declared here}}
   };
 


_______________________________________________
cfe-commits mailing list
cfe-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits








More information about the cfe-commits mailing list