]> granicus.if.org Git - clang/commit
patch to optionally warn for block implementations without explicit
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 5 Mar 2012 19:34:00 +0000 (19:34 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 5 Mar 2012 19:34:00 +0000 (19:34 +0000)
commitabf9d908cce6ffe2ee7b739d98fc7344a4f9fe3b
tree78ff3c89d85ee81fc80ef1962d1c9add5b2e6b6a
parenta187c5cc7cbc4931ef488374648348de5c057aee
patch to optionally warn for block implementations without explicit
return types that return non-void values. // rdar://10735698

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152047 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/block-missing-return-type-warning.c [new file with mode: 0644]
test/Sema/warn-unused-parameters.c