Home
last modified time | relevance | path

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

/freebsd-14.2/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.cpp933 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local
936 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()
959 if (!typeParam) { in applyObjCTypeArgs()
965 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
982 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
983 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()
984 << typeParam->getDeclName(); in applyObjCTypeArgs()
997 if (!typeParam) { in applyObjCTypeArgs()
1003 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
1010 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp347 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()
H A DType.cpp1294 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local
1297 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()
1315 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
1321 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()
1326 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h342 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()
343 Visit(typeParam); in dumpObjCTypeParamList()
H A DRecursiveASTVisitor.h1628 for (auto typeParam : *typeParamList) {
1629 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
1646 for (auto typeParam : *typeParamList) {
1647 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp471 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
474 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
475 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
549 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
552 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
553 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1231 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local
1232 if (!typeParam) in ReadObjCTypeParamList()
1235 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
H A DASTWriterDecl.cpp171 for (auto *typeParam : *typeParams) { in AddObjCTypeParamList()
172 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()