aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2010-04-20 23:21:17 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2010-04-20 23:21:17 +0000
commitf3afbeaa68624178a7a78cc20932351eb1f9f10d (patch)
tree905e221e60037c2b9d89ff99291a8f0ca5014c63 /lib/Sema/SemaInit.cpp
parente542f7723a929d42bd9e4dfa526b4ede915b91a7 (diff)
Fix comment to reflect recent code change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
-rw-r--r--lib/Sema/SemaInit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp
index 981d5831b0..a99f513609 100644
--- a/lib/Sema/SemaInit.cpp
+++ b/lib/Sema/SemaInit.cpp
@@ -884,7 +884,7 @@ void InitListChecker::CheckVectorType(const InitializedEntity &Entity,
}
}
- // OpenCL & AltiVec require all elements to be initialized.
+ // OpenCL requires all elements to be initialized.
if (numEltsInit != maxElements)
if (SemaRef.getLangOptions().OpenCL)
SemaRef.Diag(IList->getSourceRange().getBegin(),