Searched refs:typeParam (Results 1 – 10 of 10) sorted by relevance
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaDeclObjC.cpp | 687 for (auto typeParam : typeParams) { in actOnObjCTypeParamList() local 688 auto known = knownParams.find(typeParam->getIdentifier()); in actOnObjCTypeParamList() 690 Diag(typeParam->getLocation(), diag::err_objc_type_param_redecl) in actOnObjCTypeParamList() 691 << typeParam->getIdentifier() in actOnObjCTypeParamList() 694 typeParam->setInvalidDecl(); in actOnObjCTypeParamList() 696 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList() 699 PushOnScopeChains(typeParam, S, /*AddToContext=*/false); in actOnObjCTypeParamList() 708 for (auto typeParam : *typeParamList) { in popObjCTypeParamList() 709 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList() 710 S->RemoveDecl(typeParam); in popObjCTypeParamList() [all …]
|
| HD | SemaType.cpp | 813 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local 816 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs() 839 if (!typeParam) { in applyObjCTypeArgs() 845 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs() 862 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs() 863 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs() 864 << typeParam->getDeclName(); in applyObjCTypeArgs() 877 if (!typeParam) { in applyObjCTypeArgs() 883 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs() 890 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | DeclObjC.cpp | 267 for (auto typeParam : *TypeParamList) in setTypeParamList() 268 typeParam->setDeclContext(this); in setTypeParamList() 1288 for (auto typeParam : *this) in gatherDefaultTypeArgs() 1289 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs() 1878 for (auto typeParam : *TypeParamList) in setTypeParamList() 1879 typeParam->setDeclContext(this); in setTypeParamList()
|
| HD | Type.cpp | 1056 if (auto *typeParam = dyn_cast<ObjCTypeParamDecl>(typedefTy->getDecl())) { in substObjCTypeArgs() local 1060 QualType argType = typeArgs[typeParam->getIndex()]; in substObjCTypeArgs() 1069 return ctx.getQualifiedType(typeParam->getUnderlyingType(), in substObjCTypeArgs() 1075 const auto *objPtr = typeParam->getUnderlyingType() in substObjCTypeArgs() 1081 return ctx.getQualifiedType(typeParam->getUnderlyingType(), in substObjCTypeArgs()
|
| HD | ASTDumper.cpp | 968 for (auto typeParam : *typeParams) { in dumpObjCTypeParamList() 969 dumpDecl(typeParam); in dumpObjCTypeParamList()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Parse/ |
| HD | ParseObjc.cpp | 451 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local 460 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs() 461 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs() 536 DeclResult typeParam = Actions.actOnObjCTypeParam(getCurScope(), in parseObjCTypeParamListOrProtocolRefs() local 546 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs() 547 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | DataRecursiveASTVisitor.h | 1316 for (auto typeParam : *typeParamList) { 1317 TRY_TO(TraverseObjCTypeParamDecl(typeParam)); 1331 for (auto typeParam : *typeParamList) { 1332 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
|
| HD | RecursiveASTVisitor.h | 1391 for (auto typeParam : *typeParamList) { 1392 TRY_TO(TraverseObjCTypeParamDecl(typeParam)); 1405 for (auto typeParam : *typeParamList) { 1406 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTWriterDecl.cpp | 144 for (auto typeParam : *typeParams) { in AddObjCTypeParamList() 145 Writer.AddDeclRef(typeParam, Record); in AddObjCTypeParamList()
|
| HD | ASTReaderDecl.cpp | 932 auto typeParam = ReadDeclAs<ObjCTypeParamDecl>(Record, Idx); in ReadObjCTypeParamList() local 933 if (!typeParam) in ReadObjCTypeParamList() 936 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
|