]> granicus.if.org Git - clang/commit
Fixup Sema and CodeGen for block literal attributes when the return
authorMike Stump <mrs@apple.com>
Wed, 29 Apr 2009 21:40:37 +0000 (21:40 +0000)
committerMike Stump <mrs@apple.com>
Wed, 29 Apr 2009 21:40:37 +0000 (21:40 +0000)
commit6c92fa75e62937f9738696840efcb258560f4568
tree35b9cd76fa5c10c396c07f8ab37fdb18eab83d1b
parent298862dbcc0313766c8d2e25f836b62efcc75c51
Fixup Sema and CodeGen for block literal attributes when the return
type and argument types are missing, and let return type deduction
happen before we give errors for returning from a noreturn block.
Radar 6441502

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70413 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseExpr.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaStmt.cpp
test/Sema/block-return.c