Lines Matching refs:Active
491 Active = ActiveTemplateInstantiations.rbegin(),
493 Active != ActiveEnd;
494 ++Active, ++InstantiationIdx) {
499 Diags.Report(Active->PointOfInstantiation,
506 switch (Active->Kind) {
508 Decl *D = Active->Entity;
513 Diags.Report(Active->PointOfInstantiation, DiagID)
515 << Active->InstantiationRange;
522 Diags.Report(Active->PointOfInstantiation, DiagID)
524 << Active->InstantiationRange;
526 Diags.Report(Active->PointOfInstantiation,
529 << Active->InstantiationRange;
531 Diags.Report(Active->PointOfInstantiation,
534 << Active->InstantiationRange;
536 Diags.Report(Active->PointOfInstantiation,
539 << Active->InstantiationRange;
545 TemplateDecl *Template = cast<TemplateDecl>(Active->Entity);
550 Active->TemplateArgs,
551 Active->NumTemplateArgs,
553 Diags.Report(Active->PointOfInstantiation,
556 << Active->InstantiationRange;
561 FunctionTemplateDecl *FnTmpl = cast<FunctionTemplateDecl>(Active->Entity);
562 Diags.Report(Active->PointOfInstantiation,
566 Active->TemplateArgs,
567 Active->NumTemplateArgs)
568 << Active->InstantiationRange;
574 dyn_cast<ClassTemplatePartialSpecializationDecl>(Active->Entity)) {
575 Diags.Report(Active->PointOfInstantiation,
580 Active->TemplateArgs,
581 Active->NumTemplateArgs)
582 << Active->InstantiationRange;
585 = cast<FunctionTemplateDecl>(Active->Entity);
586 Diags.Report(Active->PointOfInstantiation,
590 Active->TemplateArgs,
591 Active->NumTemplateArgs)
592 << Active->InstantiationRange;
597 ParmVarDecl *Param = cast<ParmVarDecl>(Active->Entity);
604 Active->TemplateArgs,
605 Active->NumTemplateArgs,
607 Diags.Report(Active->PointOfInstantiation,
610 << Active->InstantiationRange;
615 NamedDecl *Parm = cast<NamedDecl>(Active->Entity);
621 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template))
625 cast<ClassTemplatePartialSpecializationDecl>(Active->Template)
627 Diags.Report(Active->PointOfInstantiation,
632 Active->TemplateArgs,
633 Active->NumTemplateArgs)
634 << Active->InstantiationRange;
640 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template))
644 cast<ClassTemplatePartialSpecializationDecl>(Active->Template)
647 Diags.Report(Active->PointOfInstantiation,
650 Active->TemplateArgs,
651 Active->NumTemplateArgs)
652 << Active->InstantiationRange;
657 Diags.Report(Active->PointOfInstantiation,
659 << cast<FunctionDecl>(Active->Entity)
660 << Active->InstantiationRange;
671 Active = ActiveTemplateInstantiations.rbegin(),
673 Active != ActiveEnd;
674 ++Active)
676 switch(Active->Kind) {
680 if (isa<TypeAliasTemplateDecl>(Active->Entity))
700 assert(Active->DeductionInfo && "Missing deduction info pointer");
701 return Active->DeductionInfo;