Searched refs:typeParam (Results 1 – 9 of 9) sorted by relevance
585 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local588 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()608 if (!typeParam) { in applyObjCTypeArgs()614 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()631 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()632 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()633 << typeParam->getDeclName(); in applyObjCTypeArgs()646 if (!typeParam) { in applyObjCTypeArgs()652 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()659 << 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 …]
345 for (auto *typeParam : *TypeParamList) in setTypeParamList()346 typeParam->setDeclContext(this); in setTypeParamList()1531 for (auto *typeParam : *this) in gatherDefaultTypeArgs()1532 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()2169 for (auto *typeParam : *TypeParamList) in setTypeParamList()2170 typeParam->setDeclContext(this); in setTypeParamList()
1401 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local1404 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()1422 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()1428 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()1433 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
379 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()380 Visit(typeParam); in dumpObjCTypeParamList()
1713 for (auto typeParam : *typeParamList) {1714 TRY_TO(TraverseObjCTypeParamDecl(typeParam));1731 for (auto typeParam : *typeParamList) {1732 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
405 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local409 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()410 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()485 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local488 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()489 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
1230 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local1231 if (!typeParam) in ReadObjCTypeParamList()1234 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
190 for (auto *typeParam : *typeParams) { in AddObjCTypeParamList()191 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()