Searched refs:typeParam (Results 1 – 9 of 9) sorted by relevance
785 for (auto typeParam : typeParams) { in actOnObjCTypeParamList() local789 << typeParam->getIdentifier() in actOnObjCTypeParamList()792 typeParam->setInvalidDecl(); in actOnObjCTypeParamList()794 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList()806 for (auto typeParam : *typeParamList) { in popObjCTypeParamList()807 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList()808 S->RemoveDecl(typeParam); in popObjCTypeParamList()809 IdResolver.RemoveDecl(typeParam); in popObjCTypeParamList()1037 typeParam->getVariance(), in ActOnStartClassInterface()1039 typeParam->getIndex(), in ActOnStartClassInterface()[all …]
921 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local924 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()947 if (!typeParam) { in applyObjCTypeArgs()953 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()970 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()971 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()972 << typeParam->getDeclName(); in applyObjCTypeArgs()985 if (!typeParam) { in applyObjCTypeArgs()991 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()998 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()[all …]
335 for (auto *typeParam : *TypeParamList) in setTypeParamList()336 typeParam->setDeclContext(this); in setTypeParamList()1483 for (auto typeParam : *this) in gatherDefaultTypeArgs()1484 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()2090 for (auto *typeParam : *TypeParamList) in setTypeParamList()2091 typeParam->setDeclContext(this); in setTypeParamList()
1261 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local1264 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()1282 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()1288 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()1293 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
336 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()337 Visit(typeParam); in dumpObjCTypeParamList()
1544 for (auto typeParam : *typeParamList) {1545 TRY_TO(TraverseObjCTypeParamDecl(typeParam));1558 for (auto typeParam : *typeParamList) {1559 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
436 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local439 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()440 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()514 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local517 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()518 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
169 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()170 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
1105 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local1106 if (!typeParam) in ReadObjCTypeParamList()1109 typeParams.push_back(typeParam); in ReadObjCTypeParamList()