]> granicus.if.org Git - clang/commitdiff
Remove a no longer relevant comment. It was just repeating the
authorChandler Carruth <chandlerc@gmail.com>
Thu, 26 May 2011 08:53:14 +0000 (08:53 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 26 May 2011 08:53:14 +0000 (08:53 +0000)
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

lib/Sema/SemaExpr.cpp

index 8ff30967349a09feb575b23aea0d4cec9dfe191c..37ad6a8bfbd0aa3a8c2de9ef16ade3a178046612 100644 (file)
@@ -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;