Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
739 if ((MethodDecl = Protocol->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
[all …]
H A DComment.cpp244 IsInstanceMethod = MD->isInstance(); in fill()
H A DExprClassification.cpp468 if (isa<CXXMethodDecl>(D) && cast<CXXMethodDecl>(D)->isInstance()) in ClassifyDecl()
H A DDeclCXX.cpp2508 assert(isInstance() && "No 'this' for static methods!"); in getThisType()
2515 assert(isInstance() && "No 'this' for static methods!"); in getThisObjectType()
H A DMicrosoftMangle.cpp1599 if (MD && MD->isInstance()) { in mangleTemplateArg()
2561 if (MD->isInstance()) in mangleFunctionType()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp365 if (InsertedPassID.isInstance()) in getInsertedPass()
637 assert(((!InsertedPassID.isInstance() && in insertPass()
639 (InsertedPassID.isInstance() && in insertPass()
711 return !FinalPtr.isValid() || FinalPtr.isInstance() || in isPassSubstitutedOrOverridden()
774 if (FinalPtr.isInstance()) in addPass()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetPassConfig.h66 bool isInstance() const { return IsInstance; } in isInstance() function
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h173 DeclContext *contextDecl, bool isInstance = true,
234 DeclContext *contextDecl, bool isInstance = true,
1056 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1339 ObjCMethodDecl *getCategoryMethod(Selector Sel, bool isInstance) const { in getCategoryMethod() argument
1340 return isInstance ? getCategoryInstanceMethod(Sel) in getCategoryMethod()
1828 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance,
2210 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance) const;
H A DDeclCXX.h2022 bool isInstance() const { return !isStatic(); } in isInstance() function
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp53 MD && MD->isInstance()) { in compileFunc()
H A DInterpFrame.cpp146 if (M && M->isInstance() && !isa<CXXConstructorDecl>(F)) { in describe()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCoroutine.cpp75 if (MD->isInstance()) { in lookupPromiseType()
486 return MD->isInstance() && MD->getThisType()->isDependentType(); in buildCoroutinePromise()
513 if (MD->isInstance() && !isLambdaCallOperator(MD)) { in buildCoroutinePromise()
1276 if (MD->isInstance() && !isLambdaCallOperator(MD)) { in collectPlacementArgs()
H A DSemaDeclObjC.cpp4677 bool isInstance = Method->isInstanceMethod(); in checkObjCDirectMethodClashes() local
4705 if (auto *IMD = IDecl->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4709 if (auto *IMD = IDecl->getImplementation()->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4713 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4717 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
H A DSemaExprObjC.cpp1935 bool isInstance) { in LookupMethodInObjectType() argument
1939 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1944 if (ObjCMethodDecl *method = iface->lookupPrivateMethod(sel, isInstance)) in LookupMethodInObjectType()
1950 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
H A DSemaExprMember.cpp1122 if (MemberFn->isInstance()) { in BuildMemberReferenceExpr()
H A DSemaLambda.cpp1514 if (CallOperator->isInstance()) { in addFunctionPointerConversion()
H A DSemaExpr.cpp2218 bool isInstance = CurMethod && CurMethod->isInstance() && in DiagnoseDependentMemberLookup() local
2237 if (isInstance) { in DiagnoseDependentMemberLookup()
6169 if (Method->isInstance()) in getVariadicCallType()
16032 return Method->isInstance(); in isQualifiedMemberAccess()
16043 if (Method->isInstance()) in isQualifiedMemberAccess()
20499 cast<CXXMethodDecl>(VD)->isInstance())) in resolveDecl()
20829 if (MD->isInstance()) { in resolveDecl()
H A DSemaOverload.cpp12866 cast<CXXMethodDecl>(fn)->isInstance()) { in ResolveAndFixSingleFunctionTemplateSpecialization()
14444 if (Method->isInstance()) { in CreateOverloadedArraySubscriptExpr()
14473 if (Method->isInstance()) in CreateOverloadedArraySubscriptExpr()
15060 if (Method->isInstance()) { in BuildCallToObjectOfClassType()
15095 if (Method->isInstance()) in BuildCallToObjectOfClassType()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp155 if (m_allow_cxx && method_decl->isInstance()) { in ScanContext()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprCXX.cpp44 assert(MD->isInstance() && in commonEmitCXXMemberOrOperatorCall()
487 assert(MD->isInstance() && in EmitCXXOperatorMemberCallExpr()
H A DCodeGenFunction.cpp1157 cast<CXXMethodDecl>(D)->isInstance()) { in StartFunction()
1302 if (MD && MD->isInstance()) { in BuildFunctionArgList()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1383 if (MD->isInstance()) in getSimpleCall()
H A DExprEngine.cpp2103 if (MD->isInstance()) { in Visit()
3349 if (MD->isInstance()) in VisitMemberExpr()
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8046 const bool isInstance = in AddObjCClassProperty() local
8051 getter = isInstance ? class_interface_decl->lookupInstanceMethod(getter_sel) in AddObjCClassProperty()
8067 getter->setInstanceMethod(isInstance); in AddObjCClassProperty()
8092 setter = isInstance ? class_interface_decl->lookupInstanceMethod(setter_sel) in AddObjCClassProperty()
8109 setter->setInstanceMethod(isInstance); in AddObjCClassProperty()
8216 const bool isInstance = (name[0] == '-'); in AddMethodToObjCObjectType() local
8238 objc_method_decl->setInstanceMethod(isInstance); in AddMethodToObjCObjectType()
9774 *is_instance_method_ptr = cxx_method->isInstance(); in DeclContextIsClassMethod()

12