summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-06-14 21:14:10 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-06-14 21:14:10 +0000
commit31a5bcc24ea1145de4c9470f6b803f4decf27c87 (patch)
tree900b98e9734fe2e7137413a45c43f0901a612e89 /clang/test/CodeGenObjC
parentab2436ee832df6728941b7af247b2f6a20ec0285 (diff)
downloadbcm5719-llvm-31a5bcc24ea1145de4c9470f6b803f4decf27c87.tar.gz
bcm5719-llvm-31a5bcc24ea1145de4c9470f6b803f4decf27c87.zip
Unify return type checking for functions and ObjC methods. Move all the
random checks for ObjC object return types to SemaType.cpp. Fixes issue with ObjC method type checking reported on cfe-dev. llvm-svn: 184006
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/blocks.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/blocks.m b/clang/test/CodeGenObjC/blocks.m
index 3718ad590a5..d872e17051b 100644
--- a/clang/test/CodeGenObjC/blocks.m
+++ b/clang/test/CodeGenObjC/blocks.m
@@ -7,7 +7,7 @@ struct S {
@interface T
- - (int)foo: (T (^)(T*)) x;
+ - (int)foo: (T* (^)(T*)) x;
@end
void foo(T *P) {
OpenPOWER on IntegriCloud