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

References

tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 2071   FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate();
 2091     isFriend = (D->getFriendObjectKind() != Decl::FOK_None);
 2101   if (isFriend && (NumTempParamLists = D->getNumTemplateParameterLists())) {
 2104       TemplateParameterList *TempParams = D->getTemplateParameterList(I);
 2114                                    ExplicitSpecifier::getFromDecl(D), D);
 2114                                    ExplicitSpecifier::getFromDecl(D), D);
 2119   TypeSourceInfo *TInfo = SubstFunctionType(D, Params);
 2122   QualType T = adjustFunctionTypeForInstantiation(SemaRef.Context, D, TInfo);
 2124   NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc();
 2142       DC = SemaRef.FindInstantiatedContext(D->getLocation(),
 2143                                            D->getDeclContext(),
 2153   SourceLocation StartLoc = D->getInnerLocStart();
 2155     = SemaRef.SubstDeclarationNameInfo(D->getNameInfo(), TemplateArgs);
 2156   if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) {
 2162   } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) {
 2167   } else if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) {
 2173     StorageClass SC = D->isStatic() ? SC_Static : SC_None;
 2175                                    T, TInfo, SC, D->isInlineSpecified(),
 2176                                    D->getConstexprKind(), D->getEndLoc());
 2176                                    D->getConstexprKind(), D->getEndLoc());
 2179   if (D->isInlined())
 2206     } else if (D->isOutOfLine())
 2207       FunctionTemplate->setLexicalDeclContext(D->getLexicalDeclContext());
 2218     Method->setInstantiationOfMemberFunction(D, TSK_ImplicitInstantiation);
 2232   } else if (D->isOutOfLine())
 2233     Method->setLexicalDeclContext(D->getLexicalDeclContext());
 2240   if (InitMethodInstantiation(Method, D))
 2251         = D->getDependentSpecializationInfo()) {
 2263       Decl *Temp = SemaRef.FindInstantiatedDecl(D->getLocation(),
 2279                      D->getTemplateSpecializationArgsAsWritten())) {
 2316   if (D->isPure())
 2325     Method->setAccess(D->getAccess());
 2332   if (D->isExplicitlyDefaulted())
 2334   if (D->isDeletedAsWritten())
 2355     if (!D->getPreviousDecl())