Change error "function cannot return array type" -> "blocks cannot return array type...
commit98650449dc769dd6217f183c846dcaf9e6f94930
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 25 Jan 2011 23:16:33 +0000 (25 23:16 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 25 Jan 2011 23:16:33 +0000 (25 23:16 +0000)
tree07c5f508973e450377e7cec87123c63146b64f16
parent8b3b3db2f6eef4080c9c99c3c3af582f9e8fa41e
Change error "function cannot return array type" -> "blocks cannot return array type" when blocks are involved.
Addresses rdar://8876238.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124242 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaType.cpp
test/Sema/block-return.c