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

References

tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 1768   FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate();
 1785     isFriend = (D->getFriendObjectKind() != Decl::FOK_None);
 1794   if (auto *DGuide = dyn_cast<CXXDeductionGuideDecl>(D)) {
 1802   TypeSourceInfo *TInfo = SubstFunctionType(D, Params);
 1805   QualType T = adjustFunctionTypeForInstantiation(SemaRef.Context, D, TInfo);
 1807   NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc();
 1819   if (D->isLocalExternDecl()) {
 1828     DC = SemaRef.FindInstantiatedContext(D->getLocation(), D->getDeclContext(),
 1828     DC = SemaRef.FindInstantiatedContext(D->getLocation(), D->getDeclContext(),
 1833     = SemaRef.SubstDeclarationNameInfo(D->getNameInfo(), TemplateArgs);
 1836   if (auto *DGuide = dyn_cast<CXXDeductionGuideDecl>(D)) {
 1838         SemaRef.Context, DC, D->getInnerLocStart(),
 1840         D->getSourceRange().getEnd());
 1843     Function->setAccess(D->getAccess());
 1846         SemaRef.Context, DC, D->getInnerLocStart(), NameInfo, T, TInfo,
 1847         D->getCanonicalDecl()->getStorageClass(), D->isInlineSpecified(),
 1847         D->getCanonicalDecl()->getStorageClass(), D->isInlineSpecified(),
 1848         D->hasWrittenPrototype(), D->getConstexprKind());
 1848         D->hasWrittenPrototype(), D->getConstexprKind());
 1849     Function->setRangeEnd(D->getSourceRange().getEnd());
 1852   if (D->isInlined())
 1858   if (D->isLocalExternDecl())
 1862   if (!isFriend && D->isOutOfLine() && !D->isLocalExternDecl()) {
 1862   if (!isFriend && D->isOutOfLine() && !D->isLocalExternDecl()) {
 1863     assert(D->getDeclContext()->isFileContext());
 1864     LexicalDC = D->getDeclContext();
 1898     if (isFriend && D->isThisDeclarationADefinition()) {
 1900                                            D->getDescribedFunctionTemplate());
 1909   } else if (isFriend && D->isThisDeclarationADefinition()) {
 1913     Function->setInstantiationOfMemberFunction(D, TSK_ImplicitInstantiation);
 1919   if (InitFunctionInstantiation(Function, D))
 1926       D->isLocalExternDecl() ? Sema::LookupRedeclarationWithLinkage
 1928       D->isLocalExternDecl() ? Sema::ForExternalRedeclaration
 1932         = D->getDependentSpecializationInfo()) {
 1944       Decl *Temp = SemaRef.FindInstantiatedDecl(D->getLocation(),
 1959                  D->getTemplateSpecializationArgsAsWritten()) {
 2013     if (D->isThisDeclarationADefinition()) {
 2052   if (D->isExplicitlyDefaulted())
 2053     SemaRef.SetDeclDefaulted(Function, D->getLocation());
 2054   if (D->isDeleted())
 2055     SemaRef.SetDeclDeleted(Function, D->getLocation());