================ @@ -169,14 +169,18 @@ bool CXXBasePaths::lookupInBases(ASTContext &Context, // Find the record of the base class subobjects for this type. QualType BaseType = Context.getCanonicalType(BaseSpec.getType()).getUnqualifiedType(); + bool isCurrentInstantiation = false; + if (auto *TST = BaseSpec.getType()->getAs<TemplateSpecializationType>()) + isCurrentInstantiation = TST->isCurrentInstantiation(); ---------------- vbe-sc wrote:
You are right, thanks. I've accepted your changes https://github.com/llvm/llvm-project/pull/114978 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits