rnk added inline comments.
================ Comment at: clang/lib/Sema/SemaDeclCXX.cpp:4316 + for (auto const &Base : ClassDecl->bases()) { + QualType BT = cast<ElaboratedType>(Base.getType())->getNamedType(); + const auto *BaseTemplate = dyn_cast<TemplateSpecializationType>(BT); ---------------- Is this cast always safe? Is there a simpler way to check if the base type is a template specialization type? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D130709/new/ https://reviews.llvm.org/D130709 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits