History log of /external/clang/test/Sema/block-args.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9808b711aa2153e4fe9a627a2721fa5c3bbbdc97 08-Jun-2013 Reid Kleckner <reid@kleckner.net> Add a test case for blocks taking an array typedef

r183614 was failing because va_list on some platforms is defined in a
similar manner. This test fails on Windows with r183614 applied.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
4f38f414b8676ea43439d6ad3315e32042d315cb 23-Mar-2011 John McCall <rjmccall@apple.com> Fix an error with the declaration of block parameters that depend
on previous block parameters that crept in as part of my captures
work a month or so ago.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128121 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
da263795abd39437d73d23fcf34dcd3afc1d7df3 08-Feb-2011 John McCall <rjmccall@apple.com> dgregor accidentally killed this assert, but on investigation, it can fire
on invalid code and we don't really care, so kill it harder.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125068 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
d84aac17180075e0ede53d7762b73d3bd079b52f 22-Feb-2010 Chris Lattner <sabre@nondot.org> Add 'previous declaration is here' note for param redefinition
errors, e.g.:

t.c:1:21: error: redefinition of parameter 'x'
int test(int x, int x);
^
t.c:1:14: note: previous declaration is here
int test(int x, int x);
^



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96769 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
9a66c303c7024967a48877106384bf315c84e80e 12-Feb-2010 Fariborz Jahanian <fjahanian@apple.com> Complain if block-literal expression's parameter name is
missing (in c/objc mode). Fixes radar 7528255.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96017 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
13591ed054d1b2d6d392151ba05cbc883e640648 25-Jul-2009 John McCall <rjmccall@apple.com> Semantic checking for main().

Fix some invalid main() methods in the test suite that were nicely
exposed by the new checks.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77047 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
687abffee40d0459fe5eecf3e5ee6e60be69d93c 08-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Don't allow defining a block with a non-prototype type. Remove a
hack which introduces some strange inconsistencies in compatibility
for block pointers.

Note that unlike an earlier revision proposed on cfe-commits, this patch
still allows declaring block pointers without a prototype.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
ae0ee03fd9d36446ee70e502fdaf5ed5acec269f 05-Dec-2008 Chris Lattner <sabre@nondot.org> 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60563 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
ae530cfaf65e36fdcecb16d072422eb3d2a4518e 28-Sep-2008 Steve Naroff <snaroff@apple.com> Fix <rdar://problem/6252108> assigning to argument passed to block should not require __block.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c
1f3b0d5ccabbc47aef525baec10c15d9fd1c6236 10-Sep-2008 Steve Naroff <snaroff@apple.com> Sema::ActOnIdentifierExpr(): Lookup block arguments.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/block-args.c