Searched refs:typeParam (Results 1 – 9 of 9) sorted by relevance
784 for (auto typeParam : typeParams) { in actOnObjCTypeParamList() local785 auto known = knownParams.find(typeParam->getIdentifier()); in actOnObjCTypeParamList()787 Diag(typeParam->getLocation(), diag::err_objc_type_param_redecl) in actOnObjCTypeParamList()788 << typeParam->getIdentifier() in actOnObjCTypeParamList()791 typeParam->setInvalidDecl(); in actOnObjCTypeParamList()793 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList()796 PushOnScopeChains(typeParam, S, /*AddToContext=*/false); in actOnObjCTypeParamList()805 for (auto typeParam : *typeParamList) { in popObjCTypeParamList()806 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList()807 S->RemoveDecl(typeParam); in popObjCTypeParamList()[all …]
917 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local920 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()943 if (!typeParam) { in applyObjCTypeArgs()949 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()966 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()967 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()968 << typeParam->getDeclName(); in applyObjCTypeArgs()981 if (!typeParam) { in applyObjCTypeArgs()987 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()994 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()[all …]
333 for (auto *typeParam : *TypeParamList) in setTypeParamList()334 typeParam->setDeclContext(this); in setTypeParamList()1473 for (auto typeParam : *this) in gatherDefaultTypeArgs()1474 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()2059 for (auto *typeParam : *TypeParamList) in setTypeParamList()2060 typeParam->setDeclContext(this); in setTypeParamList()
1198 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local1201 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()1219 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()1225 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()1230 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
292 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()293 Visit(typeParam); in dumpObjCTypeParamList()
1547 for (auto typeParam : *typeParamList) {1548 TRY_TO(TraverseObjCTypeParamDecl(typeParam));1561 for (auto typeParam : *typeParamList) {1562 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
435 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local438 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()439 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()513 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local516 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()517 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
1089 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local1090 if (!typeParam) in ReadObjCTypeParamList()1093 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
166 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()167 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()