Searched refs:typeParam (Results 1 – 9 of 9) sorted by relevance
589 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local592 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()612 if (!typeParam) { in applyObjCTypeArgs()618 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()635 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()636 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()637 << typeParam->getDeclName(); in applyObjCTypeArgs()650 if (!typeParam) { in applyObjCTypeArgs()656 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()663 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()[all …]
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 SemaRef.PushOnScopeChains(typeParam, S, /*AddToContext=*/false); in actOnObjCTypeParamList()806 for (auto *typeParam : *typeParamList) { in popObjCTypeParamList()807 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList()808 S->RemoveDecl(typeParam); in popObjCTypeParamList()[all …]
348 for (auto *typeParam : *TypeParamList) in setTypeParamList()349 typeParam->setDeclContext(this); in setTypeParamList()1534 for (auto *typeParam : *this) in gatherDefaultTypeArgs()1535 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()2172 for (auto *typeParam : *TypeParamList) in setTypeParamList()2173 typeParam->setDeclContext(this); in setTypeParamList()
1356 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local1359 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()1377 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()1383 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()1388 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
379 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()380 Visit(typeParam); in dumpObjCTypeParamList()
1683 for (auto typeParam : *typeParamList) {1684 TRY_TO(TraverseObjCTypeParamDecl(typeParam));1701 for (auto typeParam : *typeParamList) {1702 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
474 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local477 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()478 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()553 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local556 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()557 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
1223 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local1224 if (!typeParam) in ReadObjCTypeParamList()1227 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
174 for (auto *typeParam : *typeParams) { in AddObjCTypeParamList()175 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()