summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/instantiate-blocks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Sema] Fix crash on BlockExprs in a default member initializersErik Pilkington2018-07-231-0/+9
| | | | | | | | | | | | Clang would crash when instantiating a BlockDecl that appeared in a default-member-initializer of a class template. Fix this by deferring the instantiation until we instantate the BlockExpr. rdar://41200624 Differential revision: https://reviews.llvm.org/D49688 llvm-svn: 337766
* Move block return type inference diagnostic to a common place whereFariborz Jahanian2011-12-031-1/+1
| | | | | | Function or array lvalue conversions happens. llvm-svn: 145782
* If block literal return type is not specified, return type of the block is Fariborz Jahanian2011-12-031-0/+13
| | | | | | | inferred from return types. All the return statements have to agree about the type. // rdar://10466373 llvm-svn: 145774
* Instantiation of byref variable inFariborz Jahanian2010-07-091-0/+19
block literal expression. llvm-svn: 108019
OpenPOWER on IntegriCloud