for (; B != BEnd; ++B)
AddCXXBaseSpecifier(*B, Record);
Stream.EmitRecord(serialization::DECL_CXX_BASE_SPECIFIERS, Record);
+
+ // Flush any expressions that were written as part of the base specifiers.
+ FlushStmts();
}
CXXBaseSpecifiersToWrite.clear();
// Flush C++ base specifiers, if there are any.
FlushCXXBaseSpecifiers();
- // Flush any expressions that were written as part of the base specifiers.
- FlushStmts();
-
// Note "external" declarations so that we can add them to a record in the
// AST file later.
//