[cfe-commits] r97756 - /cfe/trunk/test/Rewriter/rewrite-byref-vars.mm
Fariborz Jahanian
fjahanian at apple.com
Thu Mar 4 13:57:21 PST 2010
Author: fjahanian
Date: Thu Mar 4 15:57:21 2010
New Revision: 97756
URL: http://llvm.org/viewvc/llvm-project?rev=97756&view=rev
Log:
Change test to compile rewritten test with clang++.
Modified:
cfe/trunk/test/Rewriter/rewrite-byref-vars.mm
Modified: cfe/trunk/test/Rewriter/rewrite-byref-vars.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-byref-vars.mm?rev=97756&r1=97755&r2=97756&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-byref-vars.mm (original)
+++ cfe/trunk/test/Rewriter/rewrite-byref-vars.mm Thu Mar 4 15:57:21 2010
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 -fms-extensions -rewrite-objc -x objective-c++ -fblocks -o - %s
+// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
+// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
// radar 7540194
extern "C" __declspec(dllexport) void BreakTheRewriter(int i) {
More information about the cfe-commits
mailing list