From 218e0b701cc02b4ca04a601a3836068f96210915 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 30 Jul 2009 02:43:05 +0000 Subject: [PATCH] Add -fblocks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77571 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Index/find-decls.c | 4 ++-- test/Index/find-defs.c | 4 ++-- test/Index/find-refs.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Index/find-decls.c b/test/Index/find-decls.c index 425c89d3e2..50a233d75b 100644 --- a/test/Index/find-decls.c +++ b/test/Index/find-decls.c @@ -1,5 +1,5 @@ -// RUN: clang-cc -emit-pch %S/t1.c -o %t1.ast && -// RUN: clang-cc -emit-pch %S/t2.c -o %t2.ast && +// RUN: clang-cc -fblocks -emit-pch %S/t1.c -o %t1.ast && +// RUN: clang-cc -fblocks -emit-pch %S/t2.c -o %t2.ast && // RUN: index-test %t1.ast %t2.ast -point-at %S/t1.c:8:7 -print-decls > %t && // RUN: cat %t | count 3 && diff --git a/test/Index/find-defs.c b/test/Index/find-defs.c index 3dc635b272..0e63ae7600 100644 --- a/test/Index/find-defs.c +++ b/test/Index/find-defs.c @@ -1,5 +1,5 @@ -// RUN: clang-cc -emit-pch %S/t1.c -o %t1.ast && -// RUN: clang-cc -emit-pch %S/t2.c -o %t2.ast && +// RUN: clang-cc -fblocks -emit-pch %S/t1.c -o %t1.ast && +// RUN: clang-cc -fblocks -emit-pch %S/t2.c -o %t2.ast && // RUN: index-test %t1.ast %t2.ast -point-at %S/foo.h:1:14 -print-defs > %t && // RUN: cat %t | count 1 && diff --git a/test/Index/find-refs.c b/test/Index/find-refs.c index 8090e67f55..1b58b37527 100644 --- a/test/Index/find-refs.c +++ b/test/Index/find-refs.c @@ -1,5 +1,5 @@ -// RUN: clang-cc -emit-pch %S/t1.c -o %t1.ast && -// RUN: clang-cc -emit-pch %S/t2.c -o %t2.ast && +// RUN: clang-cc -fblocks -emit-pch %S/t1.c -o %t1.ast && +// RUN: clang-cc -fblocks -emit-pch %S/t2.c -o %t2.ast && // RUN: index-test %t1.ast %t2.ast -point-at %S/foo.h:1:14 -print-refs > %t && // RUN: cat %t | count 4 &&