information in the previous comment which was preserved and moved with
the vec_step implementation code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132117
91177308-0d34-0410-b5e6-
96231b3b80d8
return false;
}
- // Allow sizeof(void)/alignof(void) as an extension. vec_step(void) is not
- // an extension, as void is a built-in scalar type (OpenCL 1.1 6.1.1).
+ // Allow sizeof(void)/alignof(void) as an extension.
if (exprType->isVoidType()) {
Diag(OpLoc, diag::ext_sizeof_void_type) << ExprKind << ExprRange;
return false;