aboutsummaryrefslogtreecommitdiff
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
commite935fdb06d60398bef724fd50bba84c1b921b40e (patch)
tree1b46092ddf4d602561d430af4b87011d65d5a4cc
parenta0af3b453160fc4c67363c204da13820b0586909 (diff)
Fixed comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104714 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/DeclCXX.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h
index a8f7b7a272..c19c200f26 100644
--- a/include/clang/AST/DeclCXX.h
+++ b/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;