Home | History | Annotate | Download | only in Sema

Lines Matching refs:Method

686         // If the enumeration is within a function or method, record the enum
1350 // synthesized in the method declaration.
1385 // Build the instantiated method declaration.
1387 CXXMethodDecl *Method = 0;
1393 Method = CXXConstructorDecl::Create(SemaRef.Context, Record,
1399 Method = CXXDestructorDecl::Create(SemaRef.Context, Record,
1404 Method = CXXConversionDecl::Create(SemaRef.Context, Record,
1410 Method = CXXMethodDecl::Create(SemaRef.Context, Record,
1419 Method->setQualifierInfo(QualifierLoc);
1436 Method->getLocation(),
1437 Method->getDeclName(),
1438 TemplateParams, Method);
1444 Method->setDescribedFunctionTemplate(FunctionTemplate);
1449 Method->setFunctionTemplateSpecialization(FunctionTemplate,
1456 Method->setInstantiationOfMemberFunction(D, TSK_ImplicitInstantiation);
1464 Method->setTemplateParameterListsInfo(SemaRef.Context,
1468 Method->setLexicalDeclContext(Owner);
1469 Method->setObjectOfFriendDecl(true);
1471 Method->setLexicalDeclContext(D->getLexicalDeclContext());
1475 Params[P]->setOwningFunction(Method);
1476 Method->setParams(Params.data(), Params.size());
1478 if (InitMethodInstantiation(Method, D))
1479 Method->setInvalidDecl();
1496 SemaRef.CheckFunctionDeclaration(0, Method, Previous, false, Redeclaration);
1499 SemaRef.CheckPureMethod(Method, SourceRange());
1501 Method->setAccess(D->getAccess());
1503 SemaRef.CheckOverrideControl(Method);
1507 } else if (Method->isInvalidDecl() && !Previous.empty()) {
1512 : Method);
1520 SemaRef.SetDeclDefaulted(Method, Method->getLocation());
1526 return Method;
2294 /// \brief Initializes common fields of an instantiated method
2808 // same method name.