Lines Matching defs:Method
502 /// isTagName() - This method is called *for error recovery purposes only*
756 // synthesized instance variables), if we're in an Objective-C method.
1057 // A C++ inline method/friend is parsed *after* the topmost class
1063 // Return the declaration context of the topmost class the inline method is
1324 if (const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D))
1325 return Method->isCopyAssignmentOperator();
2467 /// getSpecialMember - get the special member enum for a method.
3442 /// ParsedFreeStandingDeclSpec - This method is invoked when a declspec with
3528 /// ParsedFreeStandingDeclSpec - This method is invoked when a declspec with
4822 /// Helper method to turn variable array types into constant array
4829 // This method tries to turn a variable array into a constant
4919 /// Helper method to turn variable array types into constant array
5999 /// This method is called whenever a VarDecl is added to a "useful"
6381 CXXMethodDecl *Method;
6385 /// method overrides a method in a base class, to be used with
6395 DeclarationName Name = Data->Method->getDeclName();
6411 if (MD->isVirtual() && !Data->S->IsOverload(Data->Method, MD, false))
6426 /// \param MD the overriding method.
6444 /// AddOverriddenMethods - See if a method overrides any in the base classes,
6447 // Look for methods in base classes that this method might override.
6450 Data.Method = MD;
6838 // This is a C++ method declaration.
7106 // If this is a method defined in an __interface, and is not a constructor
7238 // Okay: Add virtual to the method.
8053 if (CXXMethodDecl *Method
8055 Method->setAccess(OldTemplateDecl->getAccess());
8105 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD)) {
8106 if (!Method->isFunctionTemplateSpecialization() &&
8107 !Method->getDescribedFunctionTemplate() &&
8108 Method->isCanonicalDecl()) {
8109 if (AddOverriddenMethods(Method->getParent(), Method)) {
8112 ReportOverrides(*this, diag::err_static_overrides_virtual, Method);
8117 if (Method->isStatic())
8118 checkThisInStaticMemberFunctionType(Method);
8534 // Warn when a non-static method call is followed by non-static member
8694 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(RealDecl)) {
8701 CheckPureMethod(Method, Init->getSourceRange());
8703 Diag(Method->getLocation(), diag::err_member_function_initialization)
8704 << Method->getDeclName() << Init->getSourceRange();
8705 Method->setInvalidDecl();
8972 // Variables declared within a function/method body (except for references)
10245 // Ignore any declarations that occur in function or method
10667 assert(MD == getCurMethodDecl() && "Method parsing confused");
10807 if (CXXMethodDecl *Method = dyn_cast_or_null<CXXMethodDecl>(D))
10808 if (Method->isStatic())
10809 checkThisInStaticMemberFunctionAttributes(Method);
13072 Diag(OM->Method->getLocation(), diag::note_final_overrider)
13073 << (const NamedDecl *)M->first << OM->Method->getParent();
14130 // If we are within an Objective-C method, we should consult
14131 // both the availability of the method as well as the
14133 // the entire method is considered deprecated from the