aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-10-28 20:29:00 +0000
committerSteve Naroff <snaroff@apple.com>2008-10-28 20:29:00 +0000
commitfa15fd9db405f2d0a9811e94a671f7d7bc282385 (patch)
tree80e556f852aa675ad9788f45749da154b09f2188 /lib/Parse/ParseDecl.cpp
parent999e120c1f5bb4064fa9961d82c2b02b6c41cb0d (diff)
More changes necessary to integrate the objc and blocks rewriters.
With this commit, stuff like this is very close to working... [foo barf:^(int){ printf("whatever\n"); }]; Here is what is currently translates to... ((id (*)(id, SEL, void (^)(int)))(void *)objc_msgSend)((id)foo, sel_registerName("barf:"), (void (*)(int))__main_block_func_0); I just need make sure the funky cast on objc_msgSend() is converted from "void (^)(int)" to "void (*)(int)". Since the cast doesn't appear in the source code, it needs to be converted in RewriteObjC::SynthMessageExpr(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions