OpenCL v1.2 s6.8.p2 - Extern can be used for variables declared in functions.
Differential Revision: http://reviews.llvm.org/D16865
yaxunl on Feb 4 2016, 11:09 AM.Authored by
I read about spec and found that in OpenCL1.1 extern was not support.
Revised as Xiuli suggested.
Diagnostic for extern for OpenCL v1.1 and below already exists, so no change about that.
I just have a few small comments, but otherwise LGTM!