Home | History | Annotate | Download | only in Sema

Lines Matching defs:Method

866         // If the enumeration is within a function or method, record the enum
1661 // Build the instantiated method declaration.
1663 CXXMethodDecl *Method = nullptr;
1669 Method = CXXConstructorDecl::Create(SemaRef.Context, Record,
1702 cast<CXXConstructorDecl>(Method)->setInheritedConstructor(Inh);
1705 Method = CXXDestructorDecl::Create(SemaRef.Context, Record,
1710 Method = CXXConversionDecl::Create(SemaRef.Context, Record,
1718 Method = CXXMethodDecl::Create(SemaRef.Context, Record,
1725 Method->setImplicitlyInline();
1728 Method->setQualifierInfo(QualifierLoc);
1745 Method->getLocation(),
1746 Method->getDeclName(),
1747 TemplateParams, Method);
1753 Method->setDescribedFunctionTemplate(FunctionTemplate);
1757 Method->setFunctionTemplateSpecialization(FunctionTemplate,
1764 Method->setInstantiationOfMemberFunction(D, TSK_ImplicitInstantiation);
1772 Method->setTemplateParameterListsInfo(SemaRef.Context,
1776 Method->setLexicalDeclContext(Owner);
1777 Method->setObjectOfFriendDecl();
1779 Method->setLexicalDeclContext(D->getLexicalDeclContext());
1783 Params[P]->setOwningFunction(Method);
1784 Method->setParams(Params);
1786 if (InitMethodInstantiation(Method, D))
1787 Method->setInvalidDecl();
1804 SemaRef.CheckFunctionDeclaration(nullptr, Method, Previous, false);
1807 SemaRef.CheckPureMethod(Method, SourceRange());
1812 if (isFriend && Method->getPreviousDecl())
1813 Method->setAccess(Method->getPreviousDecl()->getAccess());
1815 Method->setAccess(D->getAccess());
1817 FunctionTemplate->setAccess(Method->getAccess());
1819 SemaRef.CheckOverrideControl(Method);
1823 SemaRef.SetDeclDefaulted(Method, Method->getLocation());
1825 SemaRef.SetDeclDeleted(Method, Method->getLocation());
1832 } else if (Method->isInvalidDecl() && !Previous.empty()) {
1840 SemaRef.CheckFriendAccess(Method);
1842 Record->makeDeclVisibleInContext(Method);
1848 Owner->addDecl(Method);
1851 return Method;
2205 // only if this is not a function or method.
2978 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
2980 ThisTypeQuals = Method->getTypeQualifiers();
3056 // synthesized in the method declaration.
3245 /// \brief Initializes common fields of an instantiated method
4119 // same method name.