Searched refs:typeParam (Results 1 – 10 of 10) sorted by relevance
785 for (auto *typeParam : typeParams) { in actOnObjCTypeParamList() local786 auto known = knownParams.find(typeParam->getIdentifier()); in actOnObjCTypeParamList()788 Diag(typeParam->getLocation(), diag::err_objc_type_param_redecl) in actOnObjCTypeParamList()789 << typeParam->getIdentifier() in actOnObjCTypeParamList()792 typeParam->setInvalidDecl(); in actOnObjCTypeParamList()794 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList()797 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 …]
916 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local919 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()942 if (!typeParam) { in applyObjCTypeArgs()948 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()965 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()966 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()967 << typeParam->getDeclName(); in applyObjCTypeArgs()980 if (!typeParam) { in applyObjCTypeArgs()986 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()993 << 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()
1272 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local1275 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()1293 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()1299 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()1304 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
336 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()337 Visit(typeParam); in dumpObjCTypeParamList()
1647 for (auto typeParam : *typeParamList) {1648 TRY_TO(TraverseObjCTypeParamDecl(typeParam));1665 for (auto typeParam : *typeParamList) {1666 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
466 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local469 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()470 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()544 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local547 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()548 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
1189 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local1190 if (!typeParam) in ReadObjCTypeParamList()1193 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
173 for (auto *typeParam : *typeParams) { in AddObjCTypeParamList()174 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
1160 for (auto *typeParam : *typeParamList) { in VisitObjCTypeParamList()1162 if (Visit(MakeCXCursor(typeParam, TU, RegionOfInterest))) in VisitObjCTypeParamList()