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

References

tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 3033       D->getType()->isDependentType() ||
 3034       D->getType()->isInstantiationDependentType() ||
 3035       D->getType()->containsUnexpandedParameterPack();
 3039         D->getLocation(),
 3041             D->getType(), TemplateArgs, D->getLocation(), DeclarationName())));
 3041             D->getType(), TemplateArgs, D->getLocation(), DeclarationName())));
 3043     SubstReductionType = D->getType();
 3050       std::make_pair(SubstReductionType, D->getLocation())};
 3051   auto *PrevDeclInScope = D->getPrevDeclInScope();
 3058       /*S=*/nullptr, Owner, D->getDeclName(), ReductionTypes, D->getAccess(),
 3058       /*S=*/nullptr, Owner, D->getDeclName(), ReductionTypes, D->getAccess(),
 3061   SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewDRD);
 3063     if (Expr *Combiner = D->getCombiner()) {
 3064       NewDRD->setCombinerData(D->getCombinerIn(), D->getCombinerOut());
 3064       NewDRD->setCombinerData(D->getCombinerIn(), D->getCombinerOut());
 3066       if (Expr *Init = D->getInitializer()) {
 3067         NewDRD->setInitializerData(D->getInitOrig(), D->getInitPriv());
 3067         NewDRD->setInitializerData(D->getInitOrig(), D->getInitPriv());
 3068         NewDRD->setInitializer(Init, D->getInitializerKind());
 3072         /*S=*/nullptr, DRD, IsCorrect && !D->isInvalidDecl());
 3078   if (D->getCombiner()) {
 3082         cast<DeclRefExpr>(D->getCombinerIn())->getDecl(),
 3085         cast<DeclRefExpr>(D->getCombinerOut())->getDecl(),
 3090     SubstCombiner = SemaRef.SubstExpr(D->getCombiner(), TemplateArgs).get();
 3093     if (D->getInitializer()) {
 3098           cast<DeclRefExpr>(D->getInitOrig())->getDecl(),
 3101           cast<DeclRefExpr>(D->getInitPriv())->getDecl(),
 3103       if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) {
 3105             SemaRef.SubstExpr(D->getInitializer(), TemplateArgs).get();
 3114         (!D->getInitializer() ||
 3115          (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit &&
 3117          (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit &&