diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-05-26 08:53:14 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-05-26 08:53:14 +0000 |
commit | e2250304ca0a809693a48f84b7e886f55d004df4 (patch) | |
tree | a66f06c58b659754ab255af17d52786bb4d91278 /lib/Sema/SemaExpr.cpp | |
parent | df1f377cae15c9607539cbcb5b8c9f4f0cf7d7d8 (diff) |
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
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |