Home
last modified time | relevance | path

Searched refs:ObjCTypeParamDecl (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Import/objc-param-decl/
H A Dtest.m4 // CHECK: ObjCTypeParamDecl
7 // CHECK-NEXT: ObjCTypeParamDecl
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h582 class ObjCTypeParamDecl : public TypedefNameDecl {
596 ObjCTypeParamDecl(ASTContext &ctx, DeclContext *dc, in ObjCTypeParamDecl() function
612 static ObjCTypeParamDecl *Create(ASTContext &ctx, DeclContext *dc,
668 ArrayRef<ObjCTypeParamDecl *> typeParams,
677 ArrayRef<ObjCTypeParamDecl *> typeParams,
681 using iterator = ObjCTypeParamDecl **;
683 iterator begin() { return getTrailingObjects<ObjCTypeParamDecl *>(); } in begin()
691 using const_iterator = ObjCTypeParamDecl * const *;
694 return getTrailingObjects<ObjCTypeParamDecl *>(); in begin()
701 ObjCTypeParamDecl *front() const { in front()
[all …]
H A DTextNodeDumper.h370 void VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D);
H A DASTContext.h122 class ObjCTypeParamDecl; variable
1697 QualType getObjCTypeParamType(const ObjCTypeParamDecl *Decl,
1699 void adjustObjCTypeParamBoundType(const ObjCTypeParamDecl *Orig,
1700 ObjCTypeParamDecl *New) const;
H A DJSONNodeDumper.h257 void VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D);
H A DTypeLoc.h42 class ObjCTypeParamDecl; variable
767 ObjCTypeParamDecl *getDecl() const { return getTypePtr()->getDecl(); } in getDecl()
H A DType.h122 class ObjCTypeParamDecl;
5885 ObjCTypeParamDecl *OTPDecl;
5902 ObjCTypeParamType(const ObjCTypeParamDecl *D,
5916 const ObjCTypeParamDecl *OTPDecl,
5920 ObjCTypeParamDecl *getDecl() const { return OTPDecl; }
H A DPropertiesBase.td100 SubclassPropertyType<"ObjCTypeParamDecl", DeclRef>;
H A DRecursiveASTVisitor.h1711 DEF_TRAVERSE_DECL(ObjCTypeParamDecl, {
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp1436 void ObjCTypeParamDecl::anchor() {} in anchor()
1438 ObjCTypeParamDecl *ObjCTypeParamDecl::Create(ASTContext &ctx, DeclContext *dc, in Create()
1447 new (ctx, dc) ObjCTypeParamDecl(ctx, dc, variance, varianceLoc, index, in Create()
1454 ObjCTypeParamDecl *ObjCTypeParamDecl::CreateDeserialized(ASTContext &ctx, in CreateDeserialized()
1456 return new (ctx, ID) ObjCTypeParamDecl(ctx, nullptr, in CreateDeserialized()
1462 SourceRange ObjCTypeParamDecl::getSourceRange() const { in getSourceRange()
1479 ArrayRef<ObjCTypeParamDecl *> typeParams, in ObjCTypeParamList()
1488 ArrayRef<ObjCTypeParamDecl *> typeParams, in create()
1491 ctx.Allocate(totalSizeToAlloc<ObjCTypeParamDecl *>(typeParams.size()), in create()
H A DType.cpp723 ObjCTypeParamType::ObjCTypeParamType(const ObjCTypeParamDecl *D, QualType can, in ObjCTypeParamType()
726 OTPDecl(const_cast<ObjCTypeParamDecl *>(D)) { in ObjCTypeParamType()
1267 ObjCTypeParamDecl *typeParam = OTPTy->getDecl(); in VisitObjCTypeParamType()
3795 const ObjCTypeParamDecl *OTPDecl, in Profile()
H A DJSONNodeDumper.cpp983 void JSONNodeDumper::VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D) { in VisitObjCTypeParamDecl()
H A DTextNodeDumper.cpp2251 void TextNodeDumper::VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D) { in VisitObjCTypeParamDecl()
H A DASTImporter.cpp543 ExpectedDecl VisitObjCTypeParamDecl(ObjCTypeParamDecl *D);
4432 ExpectedDecl ASTNodeImporter::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) { in VisitObjCTypeParamDecl()
4451 ObjCTypeParamDecl *Result; in VisitObjCTypeParamDecl()
5099 SmallVector<ObjCTypeParamDecl *, 4> toTypeParams; in ImportObjCTypeParamList()
H A DASTContext.cpp5402 ASTContext::getObjCTypeParamType(const ObjCTypeParamDecl *Decl, in getObjCTypeParamType()
5432 void ASTContext::adjustObjCTypeParamBoundType(const ObjCTypeParamDecl *Orig, in adjustObjCTypeParamBoundType()
5433 ObjCTypeParamDecl *New) const { in adjustObjCTypeParamBoundType()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCursorVisitor.h228 bool VisitObjCTypeParamDecl(ObjCTypeParamDecl *D);
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-decl.m97 // CHECK-NEXT: -ObjCTypeParamDecl {{.+}} <col:33> col:33 T 'id':'id'
H A Dast-dump-decl-json.m893 // CHECK-NEXT: "kind": "ObjCTypeParamDecl",
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp718 if (isa<ObjCTypeParamDecl>(Type->getDecl())) { in isObjCTypeParamDependent()
844 for (ObjCTypeParamDecl *TypeParam : *TypeParams) { in checkPreObjCMessage()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp765 return ObjCTypeParamDecl::Create(Context, CurContext, variance, varianceLoc, in actOnObjCTypeParam()
775 ArrayRef<ObjCTypeParamDecl *> in actOnObjCTypeParamList()
777 reinterpret_cast<ObjCTypeParamDecl * const *>(typeParamsIn.data()), in actOnObjCTypeParamList()
784 llvm::SmallDenseMap<IdentifierInfo *, ObjCTypeParamDecl *> knownParams; in actOnObjCTypeParamList()
852 ObjCTypeParamDecl *prevTypeParam = prevTypeParams->begin()[i]; in checkTypeParamListConsistency()
853 ObjCTypeParamDecl *newTypeParam = newTypeParams->begin()[i]; in checkTypeParamListConsistency()
1031 SmallVector<ObjCTypeParamDecl *, 4> clonedTypeParams; in ActOnStartClassInterface()
1034 ObjCTypeParamDecl::Create( in ActOnStartClassInterface()
H A DTreeTransform.h780 QualType RebuildObjCTypeParamType(const ObjCTypeParamDecl *Decl,
7108 ObjCTypeParamDecl *OTP = cast_or_null<ObjCTypeParamDecl>( in TransformObjCTypeParamType()
14487 const ObjCTypeParamDecl *Decl, in RebuildObjCTypeParamType()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp439 void VisitObjCTypeParamDecl(ObjCTypeParamDecl *D);
566 isa<ParmVarDecl>(D) || isa<ObjCTypeParamDecl>(D)) { in VisitDecl()
1128 void ASTDeclReader::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) { in VisitObjCTypeParamDecl()
1148 SmallVector<ObjCTypeParamDecl *, 4> typeParams; in ReadObjCTypeParamList()
1151 auto *typeParam = readDeclAs<ObjCTypeParamDecl>(); in ReadObjCTypeParamList()
3854 D = ObjCTypeParamDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp141 void VisitObjCTypeParamDecl(ObjCTypeParamDecl *D);
735 void ASTDeclWriter::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) { in VisitObjCTypeParamDecl()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexSymbol.cpp59 if (isa<ObjCTypeParamDecl>(D)) in isFunctionLocalSymbol()
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp515 if (isa<ObjCTypeParamDecl>(Decl)) in VisitTypedefNameDecl()

12