From: Chandler Carruth Date: Thu, 26 May 2011 08:53:14 +0000 (+0000) Subject: Remove a no longer relevant comment. It was just repeating the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2250304ca0a809693a48f84b7e886f55d004df4;p=clang Remove a no longer relevant comment. It was just repeating the 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 --- diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 8ff3096734..37ad6a8bfb 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -3126,8 +3126,7 @@ bool Sema::CheckUnaryExprOrTypeTraitOperand(QualType exprType, 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;