Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/test/Semantics/
H A Dio11.f90484 type t(typeParam)
485 integer, kind :: typeParam = 4 component
516 type t(typeParam)
517 integer, kind :: typeParam = 4 component
544 type t(typeParam)
548 integer, len :: typeParam = 4 component
578 type t(typeParam)
579 integer, len :: typeParam = 4 component
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dscope.cpp369 if (const auto *typeParam{symbol.detailsIf<TypeParamDetails>()}) { in IsParam() local
370 return typeParam->attr() == ParamAttr; in IsParam()
H A Dresolve-names.cpp4506 Symbol *typeParam{MakeTypeSymbol( in Pre() local
4508 context().SetError(*typeParam); in Pre()
/llvm-project-15.0.7/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.cpp911 ObjCTypeParamDecl *typeParam = nullptr; in applyObjCTypeArgs() local
914 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()
937 if (!typeParam) { in applyObjCTypeArgs()
943 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
960 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
961 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs()
962 << typeParam->getDeclName(); in applyObjCTypeArgs()
975 if (!typeParam) { in applyObjCTypeArgs()
981 QualType bound = typeParam->getUnderlyingType(); in applyObjCTypeArgs()
988 << typeArg << bound << typeParam->getDeclName(); in applyObjCTypeArgs()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp347 for (auto *typeParam : *TypeParamList) in setTypeParamList()
348 typeParam->setDeclContext(this); in setTypeParamList()
1499 for (auto typeParam : *this) in gatherDefaultTypeArgs()
1500 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()
2111 for (auto *typeParam : *TypeParamList) in setTypeParamList()
2112 typeParam->setDeclContext(this); in setTypeParamList()
H A DType.cpp1267 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType() local
1270 QualType argType = TypeArgs[typeParam->getIndex()]; in VisitObjCTypeParamType()
1288 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
1294 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()
1299 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTNodeTraverser.h336 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()
337 Visit(typeParam); in dumpObjCTypeParamList()
H A DRecursiveASTVisitor.h1655 for (auto typeParam : *typeParamList) {
1656 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
1673 for (auto typeParam : *typeParamList) {
1674 TRY_TO(TraverseObjCTypeParamDecl(typeParam));
/llvm-project-15.0.7/mlir/docs/
H A DAttributesAndTypes.md345 TypeBuilderWithInferredContext<(ins "Type":$typeParam), [{
348 return Base::get(typeParam.getContext(), ...);
438 TypeBuilderWithInferredContext<(ins "Type":$typeParam), [{
441 return Base::get(typeParam.getContext(), ...);
449 static MyType get(Type typeParam);
452 MyType MyType::get(Type typeParam) {
455 return Base::get(typeParam.getContext(), ...);
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp436 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
439 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
440 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
514 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs() local
517 if (typeParam.isUsable()) in parseObjCTypeParamListOrProtocolRefs()
518 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtools.h248 if (const auto *typeParam{ in ExtractBareLenParameter()
250 if (!typeParam->base()) { in ExtractBareLenParameter()
251 const Symbol &symbol{typeParam->parameter()}; in ExtractBareLenParameter()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp1151 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList() local
1152 if (!typeParam) in ReadObjCTypeParamList()
1155 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
H A DASTWriterDecl.cpp170 for (auto typeParam : *typeParams) { in AddObjCTypeParamList()
171 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp1160 for (auto *typeParam : *typeParamList) { in VisitObjCTypeParamList()
1162 if (Visit(MakeCXCursor(typeParam, TU, RegionOfInterest))) in VisitObjCTypeParamList()