Home
last modified time | relevance | path

Searched refs:typeParam (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp785 for (auto typeParam : typeParams) { in actOnObjCTypeParamList() local
789 << typeParam->getIdentifier() in actOnObjCTypeParamList()
792 typeParam->setInvalidDecl(); in actOnObjCTypeParamList()
794 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList()
806 for (auto typeParam : *typeParamList) { in popObjCTypeParamList()
807 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList()
808 S->RemoveDecl(typeParam); in popObjCTypeParamList()
809 IdResolver.RemoveDecl(typeParam); in popObjCTypeParamList()
1037 typeParam->getVariance(), in ActOnStartClassInterface()
1039 typeParam->getIndex(), in ActOnStartClassInterface()
[all …]
H A DSemaType.cpp921 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local
924 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()
947 if (!typeParam) { in applyObjCTypeArgs()
953 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
970 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
971 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()
972 << typeParam->getDeclName(); in applyObjCTypeArgs()
985 if (!typeParam) { in applyObjCTypeArgs()
991 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
998 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp335 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()
H A DType.cpp1261 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local
1264 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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h336 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()
337 Visit(typeParam); in dumpObjCTypeParamList()
H A DRecursiveASTVisitor.h1544 for (auto typeParam : *typeParamList) {
1545 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
1558 for (auto typeParam : *typeParamList) {
1559 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp436 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
439 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
440 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
514 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
517 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
518 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp169 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()
170 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
H A DASTReaderDecl.cpp1105 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local
1106 if (!typeParam) in ReadObjCTypeParamList()
1109 typeParams.push_back(typeParam); in ReadObjCTypeParamList()