Lines Matching refs:Method
148 /// DiagnoseSentinelCalls - This routine checks on method dispatch calls
1633 // If this reference is in an Objective-C method, then we need to do
1656 // for further use, this must be set to false if in class method.
1723 // instance method.
1778 /// detected that we're currently inside an ObjC method. Perform some
1793 // found a decl, but that decl is outside the current instance method (i.e.
1797 // If we're in a class method, we don't normally want to look for
1815 // Diagnose using an ivar in a class method.
1924 } else if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Member)) {
1925 if (Method->isStatic())
1928 DestType = Method->getThisType(Context);
2341 // If we're referring to a method with an __unknown_anytype
3644 if (CXXMethodDecl *Method = dyn_cast_or_null<CXXMethodDecl>(FDecl))
3645 if (!Method->isStatic())
4607 /// FindCompositeObjCPointerType - Helper method to find composite type of
6576 // The following is safe because we only use this method for
6685 ObjCMethodDecl *method = S.getCurMethodDecl();
6686 if (method && var == method->getSelfDecl())
7145 // If it's an instance method, make a member pointer.
7162 // The method was named without a qualifier.
9575 // Rewrite the method result type if available.
9576 if (ObjCMethodDecl *method = msg->getMethodDecl()) {
9577 assert(method->getResultType() == S.Context.UnknownAnyTy);
9578 method->setResultType(DestType);
9618 if (CXXMethodDecl *method = dyn_cast<CXXMethodDecl>(fn))
9619 if (method->isInstance()) {
9692 assert(d && "unknown method returning __unknown_any?");