Home | History | Annotate | Download | only in Sema

Lines Matching refs:Specialized

947   // In these cases, grab the template that is being defined or specialized.
1765 // explicitly specialized.
1817 // enclosing class template that is explicitly specialized.
1832 // Members of an explicitly specialized class template are defined
1865 // are not explicitly specialized as well.
2003 // are not explicitly specialized as well.
2440 static bool CheckTemplateSpecializationScope(Sema &S, NamedDecl *Specialized,
2686 // explicitly specialized then that specialization shall be declared
2838 // whether one of the specializations is more specialized
2840 // specialized than all of the other matching
2852 // Determine if the best partial specialization is more specialized than
5871 /// \param Specialized the entity being specialized or instantiated, which
5887 NamedDecl *Specialized,
5894 if (isa<ClassTemplateDecl>(Specialized))
5896 else if (isa<VarTemplateDecl>(Specialized))
5898 else if (isa<FunctionTemplateDecl>(Specialized))
5900 else if (isa<CXXMethodDecl>(Specialized))
5902 else if (isa<VarDecl>(Specialized))
5904 else if (isa<RecordDecl>(Specialized))
5906 else if (isa<EnumDecl>(Specialized) && S.getLangOpts().CPlusPlus11)
5911 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
5930 << Specialized;
5941 << Specialized;
5944 << Specialized;
5950 !S.CurContext->Equals(Specialized->getDeclContext())) {
5954 << Specialized;
5963 = Specialized->getDeclContext()->getEnclosingNamespaceContext();
5974 !(isa<FunctionTemplateDecl>(Specialized) ||
5975 isa<FunctionDecl>(Specialized) ||
5976 isa<VarTemplateDecl>(Specialized) ||
5977 isa<VarDecl>(Specialized))) {
5980 << EntityKind << Specialized;
5985 S.Diag(Loc, Diag) << EntityKind << Specialized
5990 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
6005 // the specialized template.
6015 << EntityKind << Specialized;
6025 << EntityKind << Specialized << cast<NamedDecl>(SpecializedContext);
6028 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
6084 // A non-type argument is non-specialized if it is the name of a
6086 // specialized.
6089 // specialized non-type arguments, so skip any non-specialized
6098 // -- A partially specialized non-type argument expression
6120 // specialized non-type argument shall not be dependent on a
6467 // explicitly specialized then that specialization shall be declared
6586 /// that has just been explicitly specialized.
6656 // explicitly specialized or has merely been mentioned without any
6677 // is explicitly specialized then that specialization shall be declared
6751 // has been explicitly specialized.
6857 /// \param Previous the set of declarations that may be specialized by
6933 // Find the most specialized function template.
6952 << 0 /*function*/ << 1 /*explicitly specialized*/;
6989 // explicitly specialized then that specialization shall be declared
7009 // ordering) from the most specialized of all the function templates that
7054 /// \param Previous the set of declarations, one of which may be specialized
7152 // explicitly specialized then that specialization shall be declared
7996 // Find the most specialized function template specialization.
8616 /// explicitly specialized then that specialization shall be declared before