From 2ca529ce61f63caed2484b7ee19018df63d7cd12 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 4 Dec 2008 23:20:07 +0000 Subject: instead of forcing blocks on by default, make them default to off, but let specific targets default them to on. Default blocks to on on 10.6 and later. Add a -fblocks option that allows the user to override the target's default. Use -fblocks in the various testcases that use blocks. llvm-svn: 60563 --- clang/test/Sema/block-misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Sema/block-misc.c') diff --git a/clang/test/Sema/block-misc.c b/clang/test/Sema/block-misc.c index c4d0c2dbf84..5509867c30a 100644 --- a/clang/test/Sema/block-misc.c +++ b/clang/test/Sema/block-misc.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang -fsyntax-only -verify %s -fblocks void donotwarn(); int (^IFP) (); -- cgit v1.2.3