@@ -269,7 +269,6 @@ class CXXRecordDecl : public RecordDecl {
269269
270270 friend void FunctionDecl::setIsPureVirtual (bool );
271271 friend void TagDecl::startDefinition ();
272- friend void FieldDecl::removeInClassInitializer ();
273272
274273 // / Values used in DefinitionData fields to represent special members.
275274 enum SpecialMemberFlags {
@@ -320,9 +319,6 @@ class CXXRecordDecl : public RecordDecl {
320319 // / The number of virtual base class specifiers in VBases.
321320 unsigned NumVBases = 0 ;
322321
323- // / The number of C++11 in-class-initializers in this class.
324- unsigned NumInClassInitializers = 0 ;
325-
326322 // / Base classes of this class.
327323 // /
328324 // / FIXME: This is wasted space for a union.
@@ -501,17 +497,6 @@ class CXXRecordDecl : public RecordDecl {
501497 // / whenever a member is added to this record.
502498 void addedMember (Decl *D);
503499
504- // / Decreasing the number of C++11 in-class-initializers, and update the
505- // / HasInClassInitializer if there is no in-class-initializer in this class.
506- // /
507- // / This routine helps maintain the number of C++11 in-class-initializers.
508- // / The RecordDecl::hasInClassInitializer() needs to be consistent with the
509- // / FieldDecl::hasInClassInitializer(), When calling
510- // / FieldDecl::hasInClassInitializer() to remove the in-class-initializer in
511- // / the field, we need to check whether there are any in-class-initializers in
512- // / this class, and update HasInClassInitializer to the correct value.
513- void removeInClassInitializer ();
514-
515500 void markedVirtualFunctionPure ();
516501
517502 // / Get the head of our list of friend declarations, possibly
0 commit comments