Home | History | Annotate | Download | only in Sema

Lines Matching defs:Specialized

915   // In these cases, grab the template that is being defined or specialized.
1718 // explicitly specialized.
1770 // enclosing class template that is explicitly specialized.
1785 // Members of an explicitly specialized class template are defined
1818 // are not explicitly specialized as well.
1956 // are not explicitly specialized as well.
2317 static bool CheckTemplateSpecializationScope(Sema &S, NamedDecl *Specialized,
2582 // explicitly specialized then that specialization shall be declared
2730 // whether one of the specializations is more specialized
2732 // specialized than all of the other matching
2744 // Determine if the best partial specialization is more specialized than
5626 /// \param Specialized the entity being specialized or instantiated, which
5642 NamedDecl *Specialized,
5649 if (isa<ClassTemplateDecl>(Specialized))
5651 else if (isa<VarTemplateDecl>(Specialized))
5653 else if (isa<FunctionTemplateDecl>(Specialized))
5655 else if (isa<CXXMethodDecl>(Specialized))
5657 else if (isa<VarDecl>(Specialized))
5659 else if (isa<RecordDecl>(Specialized))
5661 else if (isa<EnumDecl>(Specialized) && S.getLangOpts().CPlusPlus11)
5666 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
5685 << Specialized;
5696 << Specialized;
5699 << Specialized;
5705 !S.CurContext->Equals(Specialized->getDeclContext())) {
5709 << Specialized;
5718 = Specialized->getDeclContext()->getEnclosingNamespaceContext();
5729 !(isa<FunctionTemplateDecl>(Specialized) ||
5730 isa<FunctionDecl>(Specialized) ||
5731 isa<VarTemplateDecl>(Specialized) ||
5732 isa<VarDecl>(Specialized))) {
5735 << EntityKind << Specialized;
5738 << EntityKind << Specialized
5743 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
5758 // the specialized template.
5768 << EntityKind << Specialized;
5778 << EntityKind << Specialized << cast<NamedDecl>(SpecializedContext);
5781 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
5837 // A non-type argument is non-specialized if it is the name of a
5839 // specialized.
5842 // specialized non-type arguments, so skip any non-specialized
5851 // -- A partially specialized non-type argument expression
5873 // specialized non-type argument shall not be dependent on a
6214 // explicitly specialized then that specialization shall be declared
6344 /// that has just been explicitly specialized.
6417 // explicitly specialized or has merely been mentioned without any
6438 // is explicitly specialized then that specialization shall be declared
6512 // has been explicitly specialized.
6618 /// \param Previous the set of declarations that may be specialized by
6683 // Find the most specialized function template.
6730 // explicitly specialized then that specialization shall be declared
6780 /// \param Previous the set of declarations, one of which may be specialized
6873 // explicitly specialized then that specialization shall be declared
7609 // Find the most specialized function template specialization.