summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo.bagnara@gmail.com>2010-05-26 18:17:40 +0000
committerAbramo Bagnara <abramo.bagnara@gmail.com>2010-05-26 18:17:40 +0000
commitf9e12142988d668144c5356a4597e199f7a0b85f (patch)
treed12b77406e98c284de65ba42b65732e98a705c77
parent7c8bd0fc986002d2dec65d7efbfdea2d506e8806 (diff)
downloadbcm5719-llvm-f9e12142988d668144c5356a4597e199f7a0b85f.tar.gz
bcm5719-llvm-f9e12142988d668144c5356a4597e199f7a0b85f.zip
Fixed comment.
llvm-svn: 104714
-rw-r--r--clang/include/clang/AST/DeclCXX.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/DeclCXX.h b/clang/include/clang/AST/DeclCXX.h
index a8f7b7a2725..c19c200f265 100644
--- a/clang/include/clang/AST/DeclCXX.h
+++ b/clang/include/clang/AST/DeclCXX.h
@@ -1075,9 +1075,9 @@ class CXXBaseOrMemberInitializer {
/// IsWritten - Whether or not the initializer is explicitly written
/// in the sources.
bool IsWritten : 1;
- /// SourceOrderOrNumArrayIndices - If IsImplicit is false, then this
+ /// SourceOrderOrNumArrayIndices - If IsWritten is true, then this
/// number keeps track of the textual order of this initializer in the
- /// original sources, counting from 0; otherwise, if IsImplicit is true,
+ /// original sources, counting from 0; otherwise, if IsWritten is false,
/// it stores the number of array index variables stored after this
/// object in memory.
unsigned SourceOrderOrNumArrayIndices : 14;
OpenPOWER on IntegriCloud