Home | History | Annotate | Download | only in Sema

Lines Matching defs:Typedef

501   // Create the new typedef
502 TypedefNameDecl *Typedef;
504 Typedef = TypeAliasDecl::Create(SemaRef.Context, Owner, D->getLocStart(),
507 Typedef = TypedefDecl::Create(SemaRef.Context, Owner, D->getLocStart(),
510 Typedef->setInvalidDecl();
512 // If the old typedef was the name for linkage purposes of an anonymous
513 // tag decl, re-establish that relationship for the new typedef.
519 newTag->setTypedefNameForAnonDecl(Typedef);
531 // If the typedef types are not identical, reject them.
532 SemaRef.isIncompatibleTypedef(InstPrevTypedef, Typedef);
534 Typedef->setPreviousDecl(InstPrevTypedef);
537 SemaRef.InstantiateAttrs(TemplateArgs, D, Typedef);
539 Typedef->setAccess(D->getAccess());
541 return Typedef;
545 Decl *Typedef = InstantiateTypedefNameDecl(D, /*IsTypeAlias=*/false);
546 if (Typedef)
547 Owner->addDecl(Typedef);
548 return Typedef;
552 Decl *Typedef = InstantiateTypedefNameDecl(D, /*IsTypeAlias=*/true);
553 if (Typedef)
554 Owner->addDecl(Typedef);
555 return Typedef;
927 // See if the old tag was defined along with a typedef.
928 // If it did, mark the new tag as being associated with that typedef.
1427 // See if the old tag was defined along with a typedef.
1428 // If it did, mark the new tag as being associated with that typedef.
1672 // typedef (C++ [dcl.typedef]p4).
1938 // typedef (C++ [dcl.typedef]p4).
2914 typedef SmallVector<NamedDecl *, 8> ParamVector;
3268 // was declared via a typedef or with attributes, e.g.,
3270 // typedef int functype(int, int);
3407 typedef Sema::ActiveTemplateInstantiation ActiveInstType;
4653 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack;