Home | History | Annotate | Download | only in Sema

Lines Matching defs:Specialized

914   // In these cases, grab the template that is being defined or specialized.
1736 // explicitly specialized.
1788 // enclosing class template that is explicitly specialized.
1803 // Members of an explicitly specialized class template are defined
1836 // are not explicitly specialized as well.
1974 // are not explicitly specialized as well.
2335 static bool CheckTemplateSpecializationScope(Sema &S, NamedDecl *Specialized,
2600 // explicitly specialized then that specialization shall be declared
2748 // whether one of the specializations is more specialized
2750 // specialized than all of the other matching
2762 // Determine if the best partial specialization is more specialized than
5747 /// \param Specialized the entity being specialized or instantiated, which
5763 NamedDecl *Specialized,
5770 if (isa<ClassTemplateDecl>(Specialized))
5772 else if (isa<VarTemplateDecl>(Specialized))
5774 else if (isa<FunctionTemplateDecl>(Specialized))
5776 else if (isa<CXXMethodDecl>(Specialized))
5778 else if (isa<VarDecl>(Specialized))
5780 else if (isa<RecordDecl>(Specialized))
5782 else if (isa<EnumDecl>(Specialized) && S.getLangOpts().CPlusPlus11)
5787 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
5806 << Specialized;
5817 << Specialized;
5820 << Specialized;
5826 !S.CurContext->Equals(Specialized->getDeclContext())) {
5830 << Specialized;
5839 = Specialized->getDeclContext()->getEnclosingNamespaceContext();
5850 !(isa<FunctionTemplateDecl>(Specialized) ||
5851 isa<FunctionDecl>(Specialized) ||
5852 isa<VarTemplateDecl>(Specialized) ||
5853 isa<VarDecl>(Specialized))) {
5856 << EntityKind << Specialized;
5861 S.Diag(Loc, Diag) << EntityKind << Specialized
5866 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
5881 // the specialized template.
5891 << EntityKind << Specialized;
5901 << EntityKind << Specialized << cast<NamedDecl>(SpecializedContext);
5904 S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
5960 // A non-type argument is non-specialized if it is the name of a
5962 // specialized.
5965 // specialized non-type arguments, so skip any non-specialized
5974 // -- A partially specialized non-type argument expression
5996 // specialized non-type argument shall not be dependent on a
6338 // explicitly specialized then that specialization shall be declared
6468 /// that has just been explicitly specialized.
6538 // explicitly specialized or has merely been mentioned without any
6559 // is explicitly specialized then that specialization shall be declared
6633 // has been explicitly specialized.
6739 /// \param Previous the set of declarations that may be specialized by
6804 // Find the most specialized function template.
6851 // explicitly specialized then that specialization shall be declared
6901 /// \param Previous the set of declarations, one of which may be specialized
6994 // explicitly specialized then that specialization shall be declared
7748 // Find the most specialized function template specialization.