Searched refs:typeParam (Results 1 – 12 of 12) sorted by relevance
120 int typeParam(char* param);
180 typeParam(char* param) in typeParam() function269 nParam = typeParam(word); // search for param in allowedParameters in read_config_attr()340 nParam = typeParam(word); // search for param in allowedParameters in read_config_file()
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 …]
920 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local923 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()946 if (!typeParam) { in applyObjCTypeArgs()952 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()969 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()970 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()971 << typeParam->getDeclName(); in applyObjCTypeArgs()984 if (!typeParam) { in applyObjCTypeArgs()990 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()997 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()[all …]
335 for (auto *typeParam : *TypeParamList) in setTypeParamList()336 typeParam->setDeclContext(this); in setTypeParamList()1483 for (auto typeParam : *this) in gatherDefaultTypeArgs()1484 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()2090 for (auto *typeParam : *TypeParamList) in setTypeParamList()2091 typeParam->setDeclContext(this); in setTypeParamList()
1261 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local1264 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()1282 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()1288 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()1293 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
312 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()313 Visit(typeParam); in dumpObjCTypeParamList()
1534 for (auto typeParam : *typeParamList) {1535 TRY_TO(TraverseObjCTypeParamDecl(typeParam));1548 for (auto typeParam : *typeParamList) {1549 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
436 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local439 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()440 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()514 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local517 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()518 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
167 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()168 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
1103 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local1104 if (!typeParam) in ReadObjCTypeParamList()1107 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
1154 for (auto *typeParam : *typeParamList) { in VisitObjCTypeParamList()1156 if (Visit(MakeCXCursor(typeParam, TU, RegionOfInterest))) in VisitObjCTypeParamList()