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 …]
933 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local936 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()959 if (!typeParam) { in applyObjCTypeArgs()965 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()982 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()983 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()984 << typeParam->getDeclName(); in applyObjCTypeArgs()997 if (!typeParam) { in applyObjCTypeArgs()1003 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()1010 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()[all …]
347 for (auto *typeParam : *TypeParamList) in setTypeParamList()348 typeParam->setDeclContext(this); in setTypeParamList()1534 for (auto *typeParam : *this) in gatherDefaultTypeArgs()1535 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()2183 for (auto *typeParam : *TypeParamList) in setTypeParamList()2184 typeParam->setDeclContext(this); in setTypeParamList()
1294 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local1297 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()1315 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()1321 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()1326 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
342 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()343 Visit(typeParam); in dumpObjCTypeParamList()
1628 for (auto typeParam : *typeParamList) {1629 TRY_TO(TraverseObjCTypeParamDecl(typeParam));1646 for (auto typeParam : *typeParamList) {1647 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
471 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local474 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()475 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()549 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local552 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()553 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
1231 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local1232 if (!typeParam) in ReadObjCTypeParamList()1235 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
171 for (auto *typeParam : *typeParams) { in AddObjCTypeParamList()172 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()