]> granicus.if.org Git - clang/commitdiff
Add -fblocks.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 30 Jul 2009 02:43:05 +0000 (02:43 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 30 Jul 2009 02:43:05 +0000 (02:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77571 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/find-decls.c
test/Index/find-defs.c
test/Index/find-refs.c

index 425c89d3e2b56773cdbb094a6a524cf0a0aee4f1..50a233d75ba5d472fcec87f240820f1d51688080 100644 (file)
@@ -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 &&
index 3dc635b27248d0f80a5f43adce427399137afaca..0e63ae76004792342676b3dcde88a7fd991261db 100644 (file)
@@ -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 &&
index 8090e67f553554a698515141dd0caf33d488917e..1b58b375277301ec8cbdd50e83b658bbdff28d24 100644 (file)
@@ -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 &&