Home
last modified time | relevance | path

Searched refs:getGetterMethodDecl (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterObjCTest.cpp72 ASSERT_TRUE(prop->getGetterMethodDecl()); in TEST_P()
75 ASSERT_EQ(prop->getGetterMethodDecl()->findPropertyDecl(), prop); in TEST_P()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp1434 if (ObjCMethodDecl *getterMethod = property->getGetterMethodDecl()) { in ActOnPropertyImplDecl()
2149 property->getGetterMethodDecl() && property->getSetterMethodDecl()) { in diagnoseNullResettableSynthesizedSetters()
2150 auto *getterImpl = propertyImpl->getGetterMethodDecl(); in diagnoseNullResettableSynthesizedSetters()
2221 GetterMethod = PIDecl->getGetterMethodDecl(); in AtomicPropertySetterGetterRules()
2268 ObjCMethodDecl *IM = PID->getGetterMethodDecl(); in DiagnoseOwningPropertyGetterSynthesis()
2271 ObjCMethodDecl *method = PD->getGetterMethodDecl(); in DiagnoseOwningPropertyGetterSynthesis()
H A DSemaDeclObjC.cpp3994 if (auto *Getter = PropImpl->getGetterMethodDecl()) in ActOnAtEnd()
4852 if (auto *Getter = PropertyImpl->getGetterMethodDecl()) in ActOnMethodDeclaration()
H A DSemaExprObjC.cpp3703 method = e->getExplicitProperty()->getGetterMethodDecl(); in VisitObjCPropertyRefExpr()
H A DSemaCodeComplete.cpp8834 ReturnTypeMatchesProperty && !Property->getGetterMethodDecl()) { in AddObjCKeyValueCompletions()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp524 if (ObjCMethodDecl *MD = D->getGetterMethodDecl()) in VisitObjCPropertyDecl()
559 if (ObjCMethodDecl *MD = PD->getGetterMethodDecl()) { in VisitObjCPropertyImplDecl()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp408 const ObjCMethodDecl *GetterD = PD->getGetterMethodDecl(); in visit()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp792 if (PID->getGetterMethodDecl() && !PID->getGetterMethodDecl()->isDefined()) { in RewritePropertyImplDecl()
805 PID->getGetterMethodDecl(), Getr); in RewritePropertyImplDecl()
813 RewriteTypeIntoString(PID->getGetterMethodDecl()->getReturnType(), Getr, in RewritePropertyImplDecl()
5362 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData()
5640 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl()
H A DRewriteModernObjC.cpp958 PID->getGetterMethodDecl(), Getr); in RewritePropertyImplDecl()
966 RewriteTypeIntoString(PID->getGetterMethodDecl()->getReturnType(), Getr, in RewritePropertyImplDecl()
7038 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData()
7288 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h897 ObjCMethodDecl *getGetterMethodDecl() const { return GetterMethodDecl; } in getGetterMethodDecl() function
2848 ObjCMethodDecl *getGetterMethodDecl() const { return GetterMethodDecl; } in getGetterMethodDecl() function
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCGNU.cpp312 addPropertyMethod(property->getGetterMethodDecl()); in PushProperty()
1151 addPropertyMethod(property->getGetterMethodDecl()); in PushProperty()
1907 addIfExists(propImpl->getGetterMethodDecl()); in GenerateClass()
H A DCGObjC.cpp1050 ObjCMethodDecl *OMD = PID->getGetterMethodDecl(); in GenerateObjCGetter()
1136 ObjCMethodDecl *getterMethod = propImpl->getGetterMethodDecl(); in generateObjCGetterBody()
H A DCGDebugInfo.cpp2840 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateTypeDefinition()
2939 ObjCMethodDecl *Getter = PImpD->getGetterMethodDecl(); in CreateTypeDefinition()
H A DCodeGenModule.cpp5977 auto *Getter = PID->getGetterMethodDecl(); in EmitObjCPropertyImplementations()
H A DCGObjCMac.cpp3548 if (ObjCMethodDecl *MD = PID->getGetterMethodDecl()) in GenerateClass()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp851 if (ObjCMethodDecl *Getter = D->getGetterMethodDecl()) { in handleObjCProperty()
H A DCIndex.cpp1143 if (ObjCMethodDecl *MD = prevDecl->getGetterMethodDecl()) in VisitObjCPropertyDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp874 Record.AddDeclRef(D->getGetterMethodDecl()); in VisitObjCPropertyDecl()
913 Record.AddDeclRef(D->getGetterMethodDecl()); in VisitObjCPropertyImplDecl()
/llvm-project-15.0.7/clang/lib/AST/
H A DJSONNodeDumper.cpp1065 JOS.attribute("getter", createBareDeclRef(D->getGetterMethodDecl())); in VisitObjCPropertyDecl()
H A DTextNodeDumper.cpp2350 dumpDeclRef(D->getGetterMethodDecl(), "getter"); in VisitObjCPropertyDecl()
H A DDecl.cpp1656 if (auto *MD = PD->getGetterMethodDecl()) in printNestedNameSpecifier()
H A DASTImporter.cpp5366 auto ToGetterMethodDecl = importChecked(Err, D->getGetterMethodDecl()); in VisitObjCPropertyDecl()