reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 2157     Method = CXXConstructorDecl::Create(
 2161     Method->setRangeEnd(Constructor->getEndLoc());
 2163     Method = CXXDestructorDecl::Create(
 2166     Method->setRangeEnd(Destructor->getEndLoc());
 2168     Method = CXXConversionDecl::Create(
 2174     Method = CXXMethodDecl::Create(SemaRef.Context, Record, StartLoc, NameInfo,
 2180     Method->setImplicitlyInline();
 2183     Method->setQualifierInfo(QualifierLoc);
 2200                                                     Method->getLocation(),
 2201                                                     Method->getDeclName(),
 2202                                                     TemplateParams, Method);
 2208     Method->setDescribedFunctionTemplate(FunctionTemplate);
 2212     Method->setFunctionTemplateSpecialization(FunctionTemplate,
 2218     Method->setInstantiationOfMemberFunction(D, TSK_ImplicitInstantiation);
 2226       Method->setTemplateParameterListsInfo(
 2230     Method->setLexicalDeclContext(Owner);
 2231     Method->setObjectOfFriendDecl();
 2233     Method->setLexicalDeclContext(D->getLexicalDeclContext());
 2237     Params[P]->setOwningFunction(Method);
 2238   Method->setParams(Params);
 2240   if (InitMethodInstantiation(Method, D))
 2241     Method->setInvalidDecl();
 2271     if (SemaRef.CheckFunctionTemplateSpecialization(Method,
 2274       Method->setInvalidDecl();
 2288     if (SemaRef.CheckFunctionTemplateSpecialization(Method,
 2291       Method->setInvalidDecl();
 2298     if (SemaRef.CheckFunctionTemplateSpecialization(Method, nullptr, Previous))
 2299       Method->setInvalidDecl();
 2313   SemaRef.CheckFunctionDeclaration(nullptr, Method, Previous,
 2317     SemaRef.CheckPureMethod(Method, SourceRange());
 2322   if (isFriend && Method->getPreviousDecl())
 2323     Method->setAccess(Method->getPreviousDecl()->getAccess());
 2323     Method->setAccess(Method->getPreviousDecl()->getAccess());
 2325     Method->setAccess(D->getAccess());
 2327     FunctionTemplate->setAccess(Method->getAccess());
 2329   SemaRef.CheckOverrideControl(Method);
 2333     SemaRef.SetDeclDefaulted(Method, Method->getLocation());
 2333     SemaRef.SetDeclDefaulted(Method, Method->getLocation());
 2335     SemaRef.SetDeclDeleted(Method, Method->getLocation());
 2335     SemaRef.SetDeclDeleted(Method, Method->getLocation());
 2341     SemaRef.CompleteMemberSpecialization(Method, Previous);
 2348   } else if (Method->isInvalidDecl() && !Previous.empty()) {
 2356       SemaRef.CheckFriendAccess(Method);
 2358     Record->makeDeclVisibleInContext(Method);
 2364     Owner->addDecl(Method);
 2369   if (Method->hasAttr<UsedAttr>()) {
 2377       SemaRef.MarkFunctionReferenced(Loc, Method);
 2381   return Method;