reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 1161   if (EnumDecl *PatternPrev = getPreviousDeclForInstantiation(D)) {
 1162     NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(),
 1170       EnumDecl::Create(SemaRef.Context, Owner, D->getBeginLoc(),
 1171                        D->getLocation(), D->getIdentifier(), PrevDecl,
 1171                        D->getLocation(), D->getIdentifier(), PrevDecl,
 1172                        D->isScoped(), D->isScopedUsingClassTag(), D->isFixed());
 1172                        D->isScoped(), D->isScopedUsingClassTag(), D->isFixed());
 1172                        D->isScoped(), D->isScopedUsingClassTag(), D->isFixed());
 1173   if (D->isFixed()) {
 1174     if (TypeSourceInfo *TI = D->getIntegerTypeSourceInfo()) {
 1186       assert(!D->getIntegerType()->isDependentType()
 1188       Enum->setIntegerType(D->getIntegerType());
 1192   SemaRef.InstantiateAttrs(TemplateArgs, D, Enum);
 1194   Enum->setInstantiationOfMemberEnum(D, TSK_ImplicitInstantiation);
 1195   Enum->setAccess(D->getAccess());
 1197   SemaRef.Context.setManglingNumber(Enum, SemaRef.Context.getManglingNumber(D));
 1200   if (DeclaratorDecl *DD = SemaRef.Context.getDeclaratorForUnnamedTagDecl(D))
 1204   if (TypedefNameDecl *TND = SemaRef.Context.getTypedefNameForUnnamedTagDecl(D))
 1206   if (SubstQualifier(D, Enum)) return nullptr;
 1209   EnumDecl *Def = D->getDefinition();
 1210   if (Def && Def != D) {
 1231   if (isDeclWithinFunction(D) ? D == Def : Def && !Enum->isScoped()) {
 1231   if (isDeclWithinFunction(D) ? D == Def : Def && !Enum->isScoped()) {
 1232     SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum);