Home
last modified time | relevance | path

Searched refs:isInstance (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() argument
113 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
701 bool isInstance, in lookupMethod() argument
718 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
723 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
729 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
826 bool isInstance, bool isVariadic, bool isPropertyAccessor, in ObjCMethodDecl() argument
836 setInstanceMethod(isInstance); in ObjCMethodDecl()
856 DeclContext *contextDecl, bool isInstance, bool isVariadic, in Create() argument
2013 if ((MethodDecl = getMethod(Sel, isInstance))) in lookupMethod()
[all …]
H A DComment.cpp248 IsInstanceMethod = MD->isInstance(); in fill()
H A DDeclCXX.cpp2556 assert(isInstance() && "No 'this' for static methods!"); in getThisType()
H A DMicrosoftMangle.cpp1677 if (MD && MD->isInstance()) { in mangleTemplateArg()
H A DDecl.cpp1970 return MD->isInstance(); in isCXXInstanceMember()
H A DExprConstant.cpp7967 if (MD->isInstance()) in handleCallExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp368 if (InsertedPassID.isInstance()) in getInsertedPass()
606 assert(((!InsertedPassID.isInstance() && in insertPass()
608 (InsertedPassID.isInstance() && in insertPass()
679 return !FinalPtr.isValid() || FinalPtr.isInstance() || in isPassSubstitutedOrOverridden()
742 if (FinalPtr.isInstance()) in addPass()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp308 const bool isInstance = instance; in BuildMethod() local
356 ret_type, nullptr, interface_decl, isInstance, isVariadic, in BuildMethod()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetPassConfig.h67 bool isInstance() const { return IsInstance; } in isInstance() function
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h172 bool isInstance = true, bool isVariadic = false,
232 DeclContext *contextDecl, bool isInstance = true,
1059 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1347 ObjCMethodDecl *getCategoryMethod(Selector Sel, bool isInstance) const { in getCategoryMethod() argument
1348 return isInstance ? getCategoryInstanceMethod(Sel) in getCategoryMethod()
1836 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance,
2221 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance) const;
H A DDeclCXX.h2080 bool isInstance() const { return !isStatic(); } in isInstance() function
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp163 M && M->isInstance() && !isa<CXXConstructorDecl>(F)) { in describe()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp154 if (m_allow_cxx && method_decl->isInstance()) { in ScanContext()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp4676 bool isInstance = Method->isInstanceMethod(); in checkObjCDirectMethodClashes() local
4704 if (auto *IMD = IDecl->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4708 if (auto *IMD = IDecl->getImplementation()->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4712 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4716 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
H A DSemaExprObjC.cpp1937 bool isInstance) { in LookupMethodInObjectType() argument
1941 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1946 if (ObjCMethodDecl *method = iface->lookupPrivateMethod(sel, isInstance)) in LookupMethodInObjectType()
1952 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
H A DSemaExprMember.cpp1155 if (MemberFn->isInstance()) { in BuildMemberReferenceExpr()
H A DSemaExpr.cpp2416 bool isInstance = CurMethod && CurMethod->isInstance() && in DiagnoseDependentMemberLookup() local
2435 if (isInstance) { in DiagnoseDependentMemberLookup()
6452 if (Method->isInstance()) in getVariadicCallType()
21252 cast<CXXMethodDecl>(VD)->isInstance())) in resolveDecl()
21582 if (MD->isInstance()) { in resolveDecl()
H A DSemaLookup.cpp5116 cast<CXXMethodDecl>(SemaRef.CurContext)->isInstance()) in AddKeywordsToConsumer()
H A DSemaOverload.cpp10206 if (Mem1->isInstance() && Mem2->isInstance() && in sameFunctionParameterTypeLists()
13370 cast<CXXMethodDecl>(fn)->isInstance()) { in ResolveAndFixSingleFunctionTemplateSpecialization()
H A DSemaDeclAttr.cpp158 return MethodDecl->isInstance(); in isInstanceMethod()
5086 if (Method->isInstance()) { in handleGlobalAttr()
H A DSemaDeclCXX.cpp1807 if (MD && MD->isInstance()) { in CheckConstexprFunctionDefinition()
3265 if (MD && MD->isInstance() && in CheckOverrideControl()
H A DSemaCodeComplete.cpp1417 if (Method->isInstance()) { in AddResult()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp7921 const bool isInstance = in AddObjCClassProperty() local
7926 getter = isInstance ? class_interface_decl->lookupInstanceMethod(getter_sel) in AddObjCClassProperty()
7942 getter->setInstanceMethod(isInstance); in AddObjCClassProperty()
7967 setter = isInstance ? class_interface_decl->lookupInstanceMethod(setter_sel) in AddObjCClassProperty()
7984 setter->setInstanceMethod(isInstance); in AddObjCClassProperty()
8091 const bool isInstance = (name[0] == '-'); in AddMethodToObjCObjectType() local
8113 objc_method_decl->setInstanceMethod(isInstance); in AddMethodToObjCObjectType()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp2958 assert(MD->isInstance() && "Member function must not be static!"); in EmitMemberFunctionPointer()
H A DItaniumCXXABI.cpp1014 assert(MD->isInstance() && "Member function must not be static!"); in BuildMemberPointer()

12