Applying the following restrictions for block variables in OpenCL (v2.0 s6.12.5):
- __block storage class is disallowed
- variadic arguments are disallowed
- every block declaration must be const qualified and initialized
- a block can't be used as a return type of a function
- extern speficier is disallowed
This adds diagnostics missing from http://reviews.llvm.org/D16047
Is this blank line there for a reason, as there seem to be none above...