Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp589 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local
592 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()
612 if (!typeParam) { in applyObjCTypeArgs()
618 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
635 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
636 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()
637 << typeParam->getDeclName(); in applyObjCTypeArgs()
650 if (!typeParam) { in applyObjCTypeArgs()
656 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
663 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
[all …]
H A DSemaDeclObjC.cpp784 for (auto *typeParam : typeParams) { in actOnObjCTypeParamList() local
785 auto known = knownParams.find(typeParam->getIdentifier()); in actOnObjCTypeParamList()
787 Diag(typeParam->getLocation(), diag::err_objc_type_param_redecl) in actOnObjCTypeParamList()
788 << typeParam->getIdentifier() in actOnObjCTypeParamList()
791 typeParam->setInvalidDecl(); in actOnObjCTypeParamList()
793 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList()
796 SemaRef.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 …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp348 for (auto *typeParam : *TypeParamList) in setTypeParamList()
349 typeParam->setDeclContext(this); in setTypeParamList()
1534 for (auto *typeParam : *this) in gatherDefaultTypeArgs()
1535 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()
2172 for (auto *typeParam : *TypeParamList) in setTypeParamList()
2173 typeParam->setDeclContext(this); in setTypeParamList()
H A DType.cpp1356 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local
1359 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()
1377 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
1383 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()
1388 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h379 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()
380 Visit(typeParam); in dumpObjCTypeParamList()
H A DRecursiveASTVisitor.h1683 for (auto typeParam : *typeParamList) {
1684 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
1701 for (auto typeParam : *typeParamList) {
1702 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp474 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
477 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
478 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
553 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
556 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
557 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1223 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local
1224 if (!typeParam) in ReadObjCTypeParamList()
1227 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
H A DASTWriterDecl.cpp174 for (auto *typeParam : *typeParams) { in AddObjCTypeParamList()
175 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()