/// declaration or type.
SmallVector<Stmt *, 16> StmtsToEmit;
- static const int MaxOffsetIndices = 4;
+ /// Worst case: bases, vbases, visible and lexical contents, local redecls.
+ static const int MaxOffsetIndices = 5;
/// \brief Indices of record elements that describe offsets within the
/// bitcode. These will be converted to offsets relative to the current
/// record when emitted.
struct InhCtorA { InhCtorA(int); };
struct InhCtorB : InhCtorA { using InhCtorA::InhCtorA; };
+
+struct ClassWithVBases : HasFriends, virtual HasNontrivialDefaultConstructor {
+ int n;
+};
+struct ClassWithVBases;