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.cpp585 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local
588 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()
608 if (!typeParam) { in applyObjCTypeArgs()
614 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
631 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
632 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()
633 << typeParam->getDeclName(); in applyObjCTypeArgs()
646 if (!typeParam) { in applyObjCTypeArgs()
652 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
659 << 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.cpp345 for (auto *typeParam : *TypeParamList) in setTypeParamList()
346 typeParam->setDeclContext(this); in setTypeParamList()
1531 for (auto *typeParam : *this) in gatherDefaultTypeArgs()
1532 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()
2169 for (auto *typeParam : *TypeParamList) in setTypeParamList()
2170 typeParam->setDeclContext(this); in setTypeParamList()
H A DType.cpp1401 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local
1404 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()
1422 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
1428 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()
1433 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.h1713 for (auto typeParam : *typeParamList) {
1714 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
1731 for (auto typeParam : *typeParamList) {
1732 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp405 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
409 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
410 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
485 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
488 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
489 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1230 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local
1231 if (!typeParam) in ReadObjCTypeParamList()
1234 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
H A DASTWriterDecl.cpp190 for (auto *typeParam : *typeParams) { in AddObjCTypeParamList()
191 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()