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()) {
  856       if (newTypeParam->getVariance() == ObjCTypeParamVariance::Invariant &&
  860         newTypeParam->setVariance(prevTypeParam->getVariance());
  872           SourceLocation diagLoc = newTypeParam->getVarianceLoc();
  874             diagLoc = newTypeParam->getBeginLoc();
  878                         << static_cast<unsigned>(newTypeParam->getVariance())
  879                         << newTypeParam->getDeclName()
  884             diag << FixItHint::CreateRemoval(newTypeParam->getVarianceLoc());
  893             if (newTypeParam->getVariance()
  895               diag << FixItHint::CreateInsertion(newTypeParam->getBeginLoc(),
  898               diag << FixItHint::CreateReplacement(newTypeParam->getVarianceLoc(),
  909         newTypeParam->setVariance(prevTypeParam->getVariance());
  915                               newTypeParam->getUnderlyingType()))
  920     if (newTypeParam->hasExplicitBound()) {
  921       SourceRange newBoundRange = newTypeParam->getTypeSourceInfo()
  924         << newTypeParam->getUnderlyingType()
  925         << newTypeParam->getDeclName()
  928         << (newTypeParam->getDeclName() == prevTypeParam->getDeclName())
  940       newTypeParam->setTypeSourceInfo(
  952         = S.getLocForEndOfToken(newTypeParam->getLocation());
  956       S.Diag(newTypeParam->getLocation(),
  959         << newTypeParam->getDeclName()
  968     newTypeParam->setTypeSourceInfo(