]> granicus.if.org Git - clang/commitdiff
Fixed comment.
authorAbramo Bagnara <abramo.bagnara@gmail.com>
Wed, 26 May 2010 18:17:40 +0000 (18:17 +0000)
committerAbramo Bagnara <abramo.bagnara@gmail.com>
Wed, 26 May 2010 18:17:40 +0000 (18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104714 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclCXX.h

index a8f7b7a2725c1b5dd9965a4979058e9faa816a28..c19c200f265d99ac52f1ce29aed5822f54a7fb90 100644 (file)
@@ -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;