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

References

tools/clang/lib/Sema/SemaDeclObjC.cpp
  855     if (newTypeParam->getVariance() != prevTypeParam->getVariance()) {
  860         newTypeParam->setVariance(prevTypeParam->getVariance());
  861       } else if (prevTypeParam->getVariance()
  863                  !(isa<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) &&
  864                    cast<ObjCInterfaceDecl>(prevTypeParam->getDeclContext())
  865                      ->getDefinition() == prevTypeParam->getDeclContext())) {
  880                         << static_cast<unsigned>(prevTypeParam->getVariance())
  881                         << prevTypeParam->getDeclName();
  882           switch (prevTypeParam->getVariance()) {
  890                = prevTypeParam->getVariance() == ObjCTypeParamVariance::Covariant
  905         S.Diag(prevTypeParam->getLocation(), diag::note_objc_type_param_here)
  906           << prevTypeParam->getDeclName();
  909         newTypeParam->setVariance(prevTypeParam->getVariance());
  914     if (S.Context.hasSameType(prevTypeParam->getUnderlyingType(),
  926         << prevTypeParam->hasExplicitBound()
  927         << prevTypeParam->getUnderlyingType()
  928         << (newTypeParam->getDeclName() == prevTypeParam->getDeclName())
  929         << prevTypeParam->getDeclName()
  932              prevTypeParam->getUnderlyingType().getAsString(
  935       S.Diag(prevTypeParam->getLocation(), diag::note_objc_type_param_here)
  936         << prevTypeParam->getDeclName();
  941         S.Context.getTrivialTypeSourceInfo(prevTypeParam->getUnderlyingType()));
  954         = " : " + prevTypeParam->getUnderlyingType().getAsString(
  958         << prevTypeParam->getUnderlyingType()
  963       S.Diag(prevTypeParam->getLocation(), diag::note_objc_type_param_here)
  964         << prevTypeParam->getDeclName();
  969       S.Context.getTrivialTypeSourceInfo(prevTypeParam->getUnderlyingType()));