Home
last modified time | relevance | path

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

/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java706 ArrayList typeParam = new ArrayList(); in parseTypeParams() local
722 typeParam.add(p); in parseTypeParams()
728 return (TypeParameter[])typeParam.toArray(new TypeParameter[typeParam.size()]); in parseTypeParams()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp709 for (auto typeParam : typeParams) { in actOnObjCTypeParamList() local
710 auto known = knownParams.find(typeParam->getIdentifier()); in actOnObjCTypeParamList()
712 Diag(typeParam->getLocation(), diag::err_objc_type_param_redecl) in actOnObjCTypeParamList()
713 << typeParam->getIdentifier() in actOnObjCTypeParamList()
716 typeParam->setInvalidDecl(); in actOnObjCTypeParamList()
718 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList()
721 PushOnScopeChains(typeParam, S, /*AddToContext=*/false); in actOnObjCTypeParamList()
730 for (auto typeParam : *typeParamList) { in popObjCTypeParamList()
731 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList()
732 S->RemoveDecl(typeParam); in popObjCTypeParamList()
[all …]
DSemaType.cpp825 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local
828 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()
851 if (!typeParam) { in applyObjCTypeArgs()
857 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
874 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
875 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()
876 << typeParam->getDeclName(); in applyObjCTypeArgs()
889 if (!typeParam) { in applyObjCTypeArgs()
895 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
902 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
[all …]
/external/guava/guava/src/com/google/common/reflect/
DTypeToken.java214 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, TypeToken<X> typeArg) { in where() argument
217 new TypeResolver.TypeVariableKey(typeParam.typeVariable), in where()
238 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, Class<X> typeArg) { in where() argument
239 return where(typeParam, of(typeArg)); in where()
/external/clang/lib/AST/
DDeclObjC.cpp285 for (auto typeParam : *TypeParamList) in setTypeParamList()
286 typeParam->setDeclContext(this); in setTypeParamList()
1342 for (auto typeParam : *this) in gatherDefaultTypeArgs()
1343 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()
1932 for (auto typeParam : *TypeParamList) in setTypeParamList()
1933 typeParam->setDeclContext(this); in setTypeParamList()
DType.cpp1076 if (auto *typeParam = dyn_cast<ObjCTypeParamDecl>(typedefTy->getDecl())) { in substObjCTypeArgs() local
1080 QualType argType = typeArgs[typeParam->getIndex()]; in substObjCTypeArgs()
1089 return ctx.getQualifiedType(typeParam->getUnderlyingType(), in substObjCTypeArgs()
1095 const auto *objPtr = typeParam->getUnderlyingType() in substObjCTypeArgs()
1101 return ctx.getQualifiedType(typeParam->getUnderlyingType(), in substObjCTypeArgs()
DASTDumper.cpp970 for (auto typeParam : *typeParams) { in dumpObjCTypeParamList()
971 dumpDecl(typeParam); in dumpObjCTypeParamList()
/external/clang/lib/Parse/
DParseObjc.cpp461 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
470 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
471 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
546 DeclResult typeParam = Actions.actOnObjCTypeParam(getCurScope(), in parseObjCTypeParamListOrProtocolRefs() local
556 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
557 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h1353 for (auto typeParam : *typeParamList) {
1354 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
1367 for (auto typeParam : *typeParamList) {
1368 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
/external/clang/lib/Serialization/
DASTWriterDecl.cpp144 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()
145 Writer.AddDeclRef(typeParam, Record); in AddObjCTypeParamList()
DASTReaderDecl.cpp912 auto typeParam = ReadDeclAs<ObjCTypeParamDecl>(Record, Idx); in ReadObjCTypeParamList() local
913 if (!typeParam) in ReadObjCTypeParamList()
916 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
/external/clang/tools/libclang/
DCIndex.cpp1110 for (auto *typeParam : *typeParamList) { in VisitObjCTypeParamList()
1112 if (Visit(MakeCXCursor(typeParam, TU, RegionOfInterest))) in VisitObjCTypeParamList()