[cfe-commits] r140970 - /cfe/trunk/test/Index/complete-synthesized.m

John McCall rjmccall at apple.com
Sun Oct 2 04:28:22 PDT 2011


Author: rjmccall
Date: Sun Oct  2 06:28:21 2011
New Revision: 140970

URL: http://llvm.org/viewvc/llvm-project?rev=140970&view=rev
Log:
Use -fgnu-runtime to force the use of the non-fragile ABI;
otherwise these tests would fail on hosts that happen to default
to that, since that affects whether default synthesis can happen.


Modified:
    cfe/trunk/test/Index/complete-synthesized.m

Modified: cfe/trunk/test/Index/complete-synthesized.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/complete-synthesized.m?rev=140970&r1=140969&r2=140970&view=diff
==============================================================================
--- cfe/trunk/test/Index/complete-synthesized.m (original)
+++ cfe/trunk/test/Index/complete-synthesized.m Sun Oct  2 06:28:21 2011
@@ -35,12 +35,11 @@
 }
 @end
 
-// RUN: c-index-test -code-completion-at=%s:24:1 -Xclang -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
-// RUN: c-index-test -code-completion-at=%s:30:2 -Xclang -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
-// RUN: c-index-test -code-completion-at=%s:34:2 -Xclang -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
-//
-// FIXME: Failing since r140957, needs to be investigated.
-// XFAIL: *
+// We use -fgnu-runtime to portably force the use of the non-fragile ABI.
+
+// RUN: c-index-test -code-completion-at=%s:24:1 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:30:2 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:34:2 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
 
 // CHECK: NotImplemented:{TypedText _Bool} (50)
 // CHECK: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)





More information about the cfe-commits mailing list