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

References

tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 2431   TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc();
 2439   if (D->isExpandedParameterPack()) {
 2442     ExpandedParameterPackTypes.reserve(D->getNumExpansionTypes());
 2443     ExpandedParameterPackTypesAsWritten.reserve(D->getNumExpansionTypes());
 2444     for (unsigned I = 0, N = D->getNumExpansionTypes(); I != N; ++I) {
 2446           SemaRef.SubstType(D->getExpansionTypeSourceInfo(I), TemplateArgs,
 2447                             D->getLocation(), D->getDeclName());
 2447                             D->getLocation(), D->getDeclName());
 2452           SemaRef.CheckNonTypeTemplateParameterType(NewDI, D->getLocation());
 2461     DI = D->getTypeSourceInfo();
 2463   } else if (D->isPackExpansion()) {
 2491                                                   D->getLocation(),
 2492                                                   D->getDeclName());
 2497             SemaRef.CheckNonTypeTemplateParameterType(NewDI, D->getLocation());
 2509       DI = D->getTypeSourceInfo();
 2516                                                      D->getLocation(),
 2517                                                      D->getDeclName());
 2521       SemaRef.CheckNonTypeTemplateParameterType(NewPattern, D->getLocation());
 2531     DI = SemaRef.SubstType(D->getTypeSourceInfo(), TemplateArgs,
 2532                            D->getLocation(), D->getDeclName());
 2532                            D->getLocation(), D->getDeclName());
 2537     T = SemaRef.CheckNonTypeTemplateParameterType(DI, D->getLocation());
 2547         SemaRef.Context, Owner, D->getInnerLocStart(), D->getLocation(),
 2547         SemaRef.Context, Owner, D->getInnerLocStart(), D->getLocation(),
 2548         D->getDepth() - TemplateArgs.getNumSubstitutedLevels(),
 2549         D->getPosition(), D->getIdentifier(), T, DI, ExpandedParameterPackTypes,
 2549         D->getPosition(), D->getIdentifier(), T, DI, ExpandedParameterPackTypes,
 2553         SemaRef.Context, Owner, D->getInnerLocStart(), D->getLocation(),
 2553         SemaRef.Context, Owner, D->getInnerLocStart(), D->getLocation(),
 2554         D->getDepth() - TemplateArgs.getNumSubstitutedLevels(),
 2555         D->getPosition(), D->getIdentifier(), T, D->isParameterPack(), DI);
 2555         D->getPosition(), D->getIdentifier(), T, D->isParameterPack(), DI);
 2555         D->getPosition(), D->getIdentifier(), T, D->isParameterPack(), DI);
 2558   Param->setImplicit(D->isImplicit());
 2562   if (D->hasDefaultArgument() && !D->defaultArgumentWasInherited()) {
 2562   if (D->hasDefaultArgument() && !D->defaultArgumentWasInherited()) {
 2565     ExprResult Value = SemaRef.SubstExpr(D->getDefaultArgument(), TemplateArgs);
 2572   SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param);