Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclObjC.cpp687 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 …]
HDSemaType.cpp813 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/
HDDeclObjC.cpp267 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()
HDType.cpp1056 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()
HDASTDumper.cpp968 for (auto typeParam : *typeParams) { in dumpObjCTypeParamList()
969 dumpDecl(typeParam); in dumpObjCTypeParamList()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseObjc.cpp451 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/
HDDataRecursiveASTVisitor.h1316 for (auto typeParam : *typeParamList) {
1317 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
1331 for (auto typeParam : *typeParamList) {
1332 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
HDRecursiveASTVisitor.h1391 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/
HDASTWriterDecl.cpp144 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()
145 Writer.AddDeclRef(typeParam, Record); in AddObjCTypeParamList()
HDASTReaderDecl.cpp932 auto typeParam = ReadDeclAs<ObjCTypeParamDecl>(Record, Idx); in ReadObjCTypeParamList() local
933 if (!typeParam) in ReadObjCTypeParamList()
936 typeParams.push_back(typeParam); in ReadObjCTypeParamList()