reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
 2622  if (Bases.empty())
 2638   for (unsigned idx = 0; idx < Bases.size(); ++idx) {
 2640       = Context.getCanonicalType(Bases[idx]->getType());
 2648       Diag(Bases[idx]->getBeginLoc(), diag::err_duplicate_base_class)
 2649           << KnownBase->getType() << Bases[idx]->getSourceRange();
 2653       Context.Deallocate(Bases[idx]);
 2658       KnownBase = Bases[idx];
 2659       Bases[NumGoodBases++] = Bases[idx];
 2659       Bases[NumGoodBases++] = Bases[idx];
 2662       if (Bases.size() > 1)
 2684   Class->setBases(Bases.data(), NumGoodBases);
 2689     QualType BaseType = Bases[idx]->getType();
 2708         Diag(Bases[idx]->getBeginLoc(), diag::warn_inaccessible_base_class)
 2710             << Bases[idx]->getSourceRange();
 2712         assert(Bases[idx]->isVirtual());
 2717     Context.Deallocate(Bases[idx]);