hintonda marked 7 inline comments as done.
================
Comment at: lib/Sema/SemaInit.cpp:1815-1816
@@ -1814,3 +1814,4 @@
// worthwhile to skip over the rest of the initializer, though.
RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
RecordDecl::field_iterator FieldEnd = RD->field_end();
+ RecordDecl::field_iterator FieldStart = Field;
----------------
Still need FieldSize -- see below.
================
Comment at: lib/Sema/SemaInit.cpp:1856
@@ -1843,3 +1855,3 @@
if (Field == FieldEnd) {
// We've run out of fields. We're done.
----------------
Couldn't find getNumFields(), counted them instead.
http://reviews.llvm.org/D17407
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits