Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp93 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() argument
114 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
700 bool isInstance, in lookupMethod() argument
717 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
722 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
728 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
738 if ((MethodDecl = Protocol->lookupMethod(Sel, isInstance))) in lookupMethod()
825 bool isInstance, bool isVariadic, bool isPropertyAccessor, in ObjCMethodDecl() argument
835 setInstanceMethod(isInstance); in ObjCMethodDecl()
855 DeclContext *contextDecl, bool isInstance, bool isVariadic, in Create() argument
[all …]
H A DDeclCXX.cpp2609 assert(isInstance() && "No 'this' for static methods!"); in getThisType()
H A DMicrosoftMangle.cpp1776 if (MD && MD->isInstance()) { in mangleTemplateArg()
H A DDecl.cpp1955 return MD->isInstance(); in isCXXInstanceMember()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp372 if (InsertedPassID.isInstance()) in getInsertedPass()
610 assert(((!InsertedPassID.isInstance() && in insertPass()
612 (InsertedPassID.isInstance() && in insertPass()
683 return !FinalPtr.isValid() || FinalPtr.isInstance() || in isPassSubstitutedOrOverridden()
746 if (FinalPtr.isInstance()) in addPass()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetPassConfig.h67 bool isInstance() const { return IsInstance; }
66 bool isInstance() const { return IsInstance; } isInstance() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h172 bool isInstance = true, bool isVariadic = false,
232 DeclContext *contextDecl, bool isInstance = true,
1062 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1350 ObjCMethodDecl *getCategoryMethod(Selector Sel, bool isInstance) const { in getCategoryMethod() argument
1351 return isInstance ? getCategoryInstanceMethod(Sel) in getCategoryMethod()
1839 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance,
2224 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance) const;
H A DDeclCXX.h2094 bool isInstance() const { return !isStatic(); } in isInstance() function
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DAttr.h122 return MethodDecl->isInstance(); in isInstanceMethod()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp168 M && M->isInstance() && !isa<CXXConstructorDecl>(F)) { in describe()
H A DByteCodeEmitter.cpp93 HasThisPointer = MD->isInstance(); in compileFunc()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp154 if (m_allow_cxx && method_decl->isInstance()) { in ScanContext()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp4684 bool isInstance = Method->isInstanceMethod(); in checkObjCDirectMethodClashes() local
4712 if (auto *IMD = IDecl->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4716 if (auto *IMD = IDecl->getImplementation()->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4720 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4724 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
H A DSemaExprObjC.cpp1953 bool isInstance) { in LookupMethodInObjectType() argument
1957 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1962 if (ObjCMethodDecl *method = iface->lookupPrivateMethod(sel, isInstance)) in LookupMethodInObjectType()
1968 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
H A DSemaExprMember.cpp1163 if (MemberFn->isInstance()) { in BuildMemberReferenceExpr()
H A DSemaExpr.cpp2384 bool isInstance = CurMethod && CurMethod->isInstance() && in DiagnoseDependentMemberLookup() local
2403 if (isInstance) { in DiagnoseDependentMemberLookup()
5660 if (Method->isInstance()) in getVariadicCallType()
20252 cast<CXXMethodDecl>(VD)->isInstance())) in resolveDecl()
20582 if (MD->isInstance()) { in resolveDecl()
H A DSemaLookup.cpp5051 cast<CXXMethodDecl>(SemaRef.CurContext)->isInstance()) in AddKeywordsToConsumer()
H A DSemaOverload.cpp10221 if (Mem1->isInstance() && Mem2->isInstance() && in sameFunctionParameterTypeLists()
13399 cast<CXXMethodDecl>(fn)->isInstance()) { in ResolveAndFixSingleFunctionTemplateSpecialization()
H A DSemaDeclCXX.cpp1789 if (MD && MD->isInstance()) { in CheckConstexprFunctionDefinition()
3151 if (MD && MD->isInstance() && in CheckOverrideControl()
H A DSemaDeclAttr.cpp4595 if (Method->isInstance()) { in handleGlobalAttr()
H A DSemaCodeComplete.cpp1424 if (Method->isInstance()) { in AddResult()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8082 const bool isInstance = in AddObjCClassProperty() local
8087 getter = isInstance ? class_interface_decl->lookupInstanceMethod(getter_sel) in AddObjCClassProperty()
8104 getter->setInstanceMethod(isInstance); in AddObjCClassProperty()
8129 setter = isInstance ? class_interface_decl->lookupInstanceMethod(setter_sel) in AddObjCClassProperty()
8147 setter->setInstanceMethod(isInstance); in AddObjCClassProperty()
8254 const bool isInstance = (name[0] == '-'); in AddMethodToObjCObjectType() local
8277 objc_method_decl->setInstanceMethod(isInstance); in AddMethodToObjCObjectType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp2971 assert(MD->isInstance() && "Member function must not be static!"); in EmitMemberFunctionPointer()
H A DItaniumCXXABI.cpp1132 assert(MD->isInstance() && "Member function must not be static!"); in BuildMemberPointer()

12