| /trueos/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | ExprObjC.h | 94 ObjCMethodDecl *BoxingMethod; 97 ObjCBoxedExpr(Expr *E, QualType T, ObjCMethodDecl *method, in ObjCBoxedExpr() 109 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod() 136 ObjCMethodDecl *ArrayWithObjectsMethod; 139 QualType T, ObjCMethodDecl * Method, 148 QualType T, ObjCMethodDecl * Method, 183 ObjCMethodDecl *getArrayWithObjectsMethod() const { in getArrayWithObjectsMethod() 258 ObjCMethodDecl *DictWithObjectsMethod; 262 QualType T, ObjCMethodDecl *method, 296 QualType T, ObjCMethodDecl *method, [all …]
|
| HD | DeclObjC.h | 28 class ObjCMethodDecl; variable 113 class ObjCMethodDecl : public NamedDecl, public DeclContext { 226 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, 254 virtual ObjCMethodDecl *getNextRedeclaration(); 257 static ObjCMethodDecl *Create(ASTContext &C, 272 static ObjCMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID); 274 virtual ObjCMethodDecl *getCanonicalDecl(); 275 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() 276 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl() 293 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod); [all …]
|
| /trueos/contrib/llvm/tools/clang/lib/AST/ |
| HD | DeclObjC.cpp | 67 ObjCMethodDecl * 89 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth); in getMethod() 107 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth); in HasUserDeclaredSetterMethod() 120 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod() 459 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod() 468 ObjCMethodDecl *MethodDecl = 0; in lookupMethod() 513 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod() 523 ObjCMethodDecl *Method = 0; in lookupPrivateMethod() 553 ObjCMethodDecl *ObjCMethodDecl::Create(ASTContext &C, in Create() 566 return new (C) ObjCMethodDecl(beginLoc, endLoc, in Create() [all …]
|
| HD | Mangle.cpp | 219 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock() 238 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName()
|
| /trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | IvarInvalidationChecker.cpp | 56 typedef llvm::SmallSetVector<const ObjCMethodDecl*, 2> MethodSet; 57 typedef llvm::DenseMap<const ObjCMethodDecl*, 73 void addInvalidationMethod(const ObjCMethodDecl *MD) { in addInvalidationMethod() 81 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod() 117 const ObjCMethodDecl *InvalidationMethod; 209 const ObjCMethodDecl *MethodD) const; 225 static bool isInvalidationMethod(const ObjCMethodDecl *M, bool LookForPartial) { in isInvalidationMethod() 253 const ObjCMethodDecl *MDI = *I; in containsInvalidationMethod() 256 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod() 417 const ObjCMethodDecl *SetterD = PD->getSetterMethodDecl(); in visit() [all …]
|
| HD | CheckObjCInstMethSignature.cpp | 40 static void CompareReturnTypes(const ObjCMethodDecl *MethDerived, in CompareReturnTypes() 41 const ObjCMethodDecl *MethAncestor, in CompareReturnTypes() 91 typedef llvm::DenseMap<Selector,ObjCMethodDecl*> MapTy; in CheckObjCInstMethSignature() 98 ObjCMethodDecl *M = *I; in CheckObjCInstMethSignature() 109 ObjCMethodDecl *M = *I; in CheckObjCInstMethSignature() 118 ObjCMethodDecl *MethDerived = MI->second; in CheckObjCInstMethSignature()
|
| HD | DirectIvarAssignment.cpp | 43 static bool DefaultMethodFilter(const ObjCMethodDecl *M) { in DefaultMethodFilter() 63 const ObjCMethodDecl *MD; 69 MethodCrawler(const IvarToPropertyMapTy &InMap, const ObjCMethodDecl *InMD, in MethodCrawler() 86 bool (*ShouldSkipMethod)(const ObjCMethodDecl *); 146 ObjCMethodDecl *M = *I; in checkASTDecl() 196 ObjCMethodDecl *GetterMethod = in VisitBinaryOperator() 198 ObjCMethodDecl *SetterMethod = in VisitBinaryOperator() 227 static bool AttrFilter(const ObjCMethodDecl *M) { in AttrFilter()
|
| HD | NSErrorChecker.cpp | 41 : public Checker< check::ASTDecl<ObjCMethodDecl> > { 47 void checkASTDecl(const ObjCMethodDecl *D, 52 void NSErrorMethodChecker::checkASTDecl(const ObjCMethodDecl *D, in checkASTDecl() 64 for (ObjCMethodDecl::param_const_iterator in checkASTDecl()
|
| HD | ObjCSelfInitChecker.cpp | 53 static bool isInitializationMethod(const ObjCMethodDecl *MD); 393 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND); in shouldRunOnFunctionOrMethod() 431 static bool isInitializationMethod(const ObjCMethodDecl *MD) { in isInitializationMethod()
|
| HD | DynamicTypePropagation.cpp | 115 const ObjCMethodDecl *D = Msg->getDecl(); in checkPostCall() 234 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl())) in getObjectTypeForAllocAndNew()
|
| /trueos/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaDeclObjC.cpp | 41 bool Sema::checkInitMethod(ObjCMethodDecl *method, in checkInitMethod() 111 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride() 112 const ObjCMethodDecl *Overridden) { in CheckObjCMethodOverride() 176 ObjCMethodDecl::param_const_iterator oi = Overridden->param_begin(), in CheckObjCMethodOverride() 178 for (ObjCMethodDecl::param_iterator in CheckObjCMethodOverride() 196 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl() 274 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in AddAnyMethodToGlobalPool() 308 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef() 332 for (ObjCMethodDecl::param_iterator PI = MDecl->param_begin(), in ActOnStartOfObjCMethodDef() 373 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef() [all …]
|
| HD | SemaExprObjC.cpp | 147 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod() 169 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, in getNSNumberFactoryMethod() 224 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod() 228 Method = ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod() 235 ObjCMethodDecl::Required, in getNSNumberFactoryMethod() 285 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral() 447 ObjCMethodDecl *BoxingMethod = NULL; in BuildObjCBoxedExpr() 496 ObjCMethodDecl *M = in BuildObjCBoxedExpr() 497 ObjCMethodDecl::Create(Context, SourceLocation(), SourceLocation(), in BuildObjCBoxedExpr() 504 ObjCMethodDecl::Required, in BuildObjCBoxedExpr() [all …]
|
| HD | SemaPseudoObject.cpp | 258 ObjCMethodDecl *Getter; 260 ObjCMethodDecl *Setter; 296 ObjCMethodDecl *AtIndexGetter; 299 ObjCMethodDecl *AtIndexSetter; 500 static ObjCMethodDecl *LookupMethodInReceiverType(Sema &S, Selector sel, in LookupMethodInReceiverType() 511 ObjCMethodDecl *method = in LookupMethodInReceiverType() 512 cast<ObjCMethodDecl>(S.CurContext->getNonClosureAncestor()); in LookupMethodInReceiverType() 562 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter(); in findGetter() 588 if (ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter()) { in findSetter() 609 if (ObjCMethodDecl *setter = in findSetter() [all …]
|
| HD | SemaObjCProperty.cpp | 1155 if (ObjCMethodDecl *getterMethod = property->getGetterMethodDecl()) { in ActOnPropertyImplDecl() 1205 if (ObjCMethodDecl *setterMethod = property->getSetterMethodDecl()) { in ActOnPropertyImplDecl() 1220 ObjCMethodDecl::param_iterator P = setterMethod->param_begin(); in ActOnPropertyImplDecl() 1393 ObjCMethodDecl *GetterMethod, in DiagnosePropertyAccessorMismatch() 1503 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor() 1506 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() 1724 ObjCMethodDecl *GetterMethod = 0; in AtomicPropertySetterGetterRules() 1725 ObjCMethodDecl *SetterMethod = 0; in AtomicPropertySetterGetterRules() 1817 ObjCMethodDecl *method = PD->getGetterMethodDecl(); in DiagnoseOwningPropertyGetterSynthesis() 1835 static void AddPropertyAttrs(Sema &S, ObjCMethodDecl *PropertyMethod, in AddPropertyAttrs() [all …]
|
| /trueos/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | ObjCMethodList.h | 21 class ObjCMethodDecl; variable 25 ObjCMethodDecl *Method; 30 ObjCMethodList(ObjCMethodDecl *M, ObjCMethodList *C) in ObjCMethodList()
|
| HD | Sema.h | 138 class ObjCMethodDecl; variable 581 ObjCMethodDecl *NSNumberLiteralMethods[NSAPI::NumNSNumberLiteralMethods]; 590 ObjCMethodDecl *StringWithUTF8StringMethod; 596 ObjCMethodDecl *ArrayWithObjectsMethod; 602 ObjCMethodDecl *DictionaryWithObjectsMethod; 1555 return D && isa<ObjCMethodDecl>(D); in isObjCMethodDecl() 1804 ObjCMethodDecl *getCurMethodDecl(); 1887 void mergeObjCMethodDecls(ObjCMethodDecl *New, ObjCMethodDecl *Old); 2581 void WarnUndefinedMethod(SourceLocation ImpLoc, ObjCMethodDecl *method, 2583 void WarnConflictingTypedMethods(ObjCMethodDecl *Method, [all …]
|
| /trueos/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGObjCRuntime.h | 48 class ObjCMethodDecl; variable 127 const ObjCMethodDecl *Method) = 0; 160 const ObjCMethodDecl *Method = 0) = 0; 178 const ObjCMethodDecl *Method = 0) = 0; 195 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 282 MessageSendInfo getMessageSendInfo(const ObjCMethodDecl *method,
|
| HD | CGObjC.cpp | 36 const ObjCMethodDecl *Method, 65 const ObjCMethodDecl *BoxingMethod = E->getBoxingMethod(); in EmitObjCBoxedExpr() 91 const ObjCMethodDecl *MethodWithObjects) { in EmitObjCCollectionLiteral() 163 ObjCMethodDecl::param_const_iterator PI = MethodWithObjects->param_begin(); in EmitObjCCollectionLiteral() 235 const ObjCMethodDecl *Method, in AdjustRelatedResultType() 305 const ObjCMethodDecl *method = E->getMethodDecl(); in EmitObjCMessageExpr() 391 LocalDeclMap[cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()]; in EmitObjCMessageExpr() 400 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); in EmitObjCMessageExpr() 421 LocalDeclMap[cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()]; in EmitObjCMessageExpr() 439 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl); in Emit() [all …]
|
| /trueos/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | ObjCMT.cpp | 56 ObjCMethodDecl *OM); 57 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM); 58 void migrateNsReturnsInnerPointer(ASTContext &Ctx, ObjCMethodDecl *OM); 61 ObjCMethodDecl *OM, 68 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated); 78 const ObjCMethodDecl *MethodDecl); 245 if (isa<ObjCMethodDecl>(D)) in migrateDecl() 318 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty() 319 const ObjCMethodDecl *Setter, in rewriteToObjCProperty() 436 ObjCMethodDecl *Method = (*M); in migrateObjCInterfaceDecl() [all …]
|
| HD | TransEmptyStatementsAndDealloc.cpp | 211 ObjCMethodDecl *DeallocM = 0; in cleanupDeallocOrFinalize() 212 ObjCMethodDecl *FinalizeM = 0; in cleanupDeallocOrFinalize() 216 ObjCMethodDecl *MD = *MI; in cleanupDeallocOrFinalize()
|
| /trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/ |
| HD | AnalysisConsumer.cpp | 287 if (isa<FunctionDecl>(D) || isa<ObjCMethodDecl>(D)) { in DisplayFunction() 295 else if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) { in DisplayFunction() 376 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) { in VisitObjCMethodDecl() 421 if (isa<ObjCMethodDecl>(*I)) in storeTopLevelDecls() 441 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction() 455 assert(isa<ObjCMethodDecl>(D) && in getInliningModeForFunction() 457 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction() 575 if (const ObjCMethodDecl *ID = dyn_cast<ObjCMethodDecl>(D)) { in getFunctionName()
|
| /trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| HD | CallEvent.cpp | 245 if (const ObjCMethodDecl* MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType() 275 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic() 626 const ObjCMethodDecl *D = getDecl(); in param_begin() 634 const ObjCMethodDecl *D = getDecl(); in param_end() 777 ObjCMethodDecl *D = 0; in canBeOverridenInSubclass() 861 Optional<const ObjCMethodDecl *> > in getRuntimeDefinition() 865 Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)]; in getRuntimeDefinition() 871 const ObjCMethodDecl *MD = Val.getValue(); in getRuntimeDefinition() 894 const ObjCMethodDecl *D = cast<ObjCMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
|
| /trueos/contrib/llvm/tools/lldb/source/Expression/ |
| HD | ASTResultSynthesizer.cpp | 71 else if (ObjCMethodDecl *method_decl = dyn_cast<ObjCMethodDecl>(D)) in TransformTopLevelDecl() 90 else if (ObjCMethodDecl *method_decl = dyn_cast<ObjCMethodDecl>(D)) in TransformTopLevelDecl() 176 ASTResultSynthesizer::SynthesizeObjCMethodResult (ObjCMethodDecl *MethodDecl) in SynthesizeObjCMethodResult()
|
| /trueos/contrib/llvm/tools/clang/include/clang/CodeGen/ |
| HD | CodeGenABITypes.h | 41 class ObjCMethodDecl; variable 60 const ObjCMethodDecl *MD,
|
| /trueos/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTReaderInternals.h | 157 SmallVector<ObjCMethodDecl *, 2> Instance; 158 SmallVector<ObjCMethodDecl *, 2> Factory;
|