Home | History | Annotate | Download | only in Sema

Lines Matching defs:Decl

453 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
469 /// AdjustDeclIfTemplate - If the given decl happens to be a template, reset
472 TemplateDecl *Sema::AdjustDeclIfTemplate(Decl *&D) {
544 Decl *Sema::ActOnTypeParameter(Scope *S, bool Typename, bool Ellipsis,
672 Decl *Sema::ActOnNonTypeTemplateParameter(Scope *S, Declarator &D,
750 Decl *Sema::ActOnTemplateTemplateParameter(Scope* S,
828 Decl **Params, unsigned NumParams,
2084 ClassTemplateSpecializationDecl *Decl
2087 if (!Decl) {
2091 Decl = ClassTemplateSpecializationDecl::Create(Context,
2099 ClassTemplate->AddSpecialization(Decl, InsertPos);
2101 Decl->setLexicalDeclContext(ClassTemplate->getLexicalDeclContext());
2104 CanonType = Context.getTypeDeclType(Decl);
2170 // will be attached to the enclosing Decl or Expr node).
2459 if (TemplateDecl *Decl = Name.getAsTemplateDecl())
2460 Diag(Decl->getLocation(), diag::note_template_decl_here);
2701 Decl *Param,
3682 Converted = TemplateArgument((Decl *)0);
3979 Converted = TemplateArgument((Decl *)0);
4428 Converted = TemplateArgument((Decl *)0);
4911 static TemplateSpecializationKind getTemplateSpecializationKind(Decl *D) {
5257 Decl *Param = TemplateParams->getParam(I);
5515 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
5612 Decl *Sema::ActOnTemplateDeclarator(Scope *S,
5615 Decl *NewDecl = HandleDeclarator(S, D, TemplateParameterLists);
5620 Decl *Sema::ActOnStartOfFunctionTemplateDef(Scope *FnBodyScope,
5633 Decl *DP = HandleDeclarator(ParentScope, D,
5660 // hence no PointOfInstantiation. In that case, walk decl backwards
5663 for (Decl *Prev = D; Prev && !PrevDiagLoc.isValid();
5738 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
5783 // hence no PrevPointOfInstantiation. In that case, walk decl backwards
5827 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
5991 bool isFriend = (FD->getFriendObjectKind() != Decl::FOK_None);
6117 if (Member->getFriendObjectKind() != Decl::FOK_None) {
6507 Decl *TagD = ActOnTag(S, TagSpec, Sema::TUK_Reference,
6634 // The scope passed in may not be a decl scope. Zip up the scope tree until
6744 return (Decl*) 0;
6752 return (Decl*) 0;
6848 return (Decl*) 0;
6881 return (Decl*) 0;
7095 Decl *Referenced = 0;
7276 Decl *Param = Params->getParam(I);