aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-02-02 19:02:38 +0000
committerJohn McCall <rjmccall@apple.com>2010-02-02 19:02:38 +0000
commit41593e3b7da967b52bc3c7f488b8752dee63f38e (patch)
tree24f92bc32f44105aa76c4cc989b61f956c8c71e4 /lib/Sema/SemaInit.cpp
parent4cae1b343c7c588856df17d6a11af1614ac41308 (diff)
Fix this comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95104 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 4f23751e73..7c52df5f7c 100644
--- a/lib/Sema/SemaInit.cpp
+++ b/lib/Sema/SemaInit.cpp
@@ -3292,7 +3292,7 @@ InitializationSequence::Perform(Sema &S,
}
if (CurInitExpr->refersToVectorElement()) {
- // Vector elements cannot bind to bit fields.
+ // References cannot bind to vector elements.
S.Diag(Kind.getLocation(), diag::err_reference_bind_to_vector_element)
<< Entity.getType().isVolatileQualified()
<< CurInitExpr->getSourceRange();