Home | History | Annotate | Download | only in Sema

Lines Matching defs:ECD

10162       EnumConstantDecl *ECD =
10164 if (!ECD) continue;
10166 ECD->setType(EnumType);
10189 EnumConstantDecl *ECD =
10191 if (!ECD) continue; // Already issued a diagnostic.
10193 const llvm::APSInt &InitVal = ECD->getInitVal();
10205 AllElementsInt = ECD->getType() == Context.IntTy;
10306 EnumConstantDecl *ECD = cast_or_null<EnumConstantDecl>(Elements[i]);
10307 if (!ECD) continue; // Already issued a diagnostic.
10316 llvm::APSInt InitVal = ECD->getInitVal();
10329 } else if (ECD->getType() == BestType) {
10335 ECD->setType(EnumType);
10346 ECD->setInitVal(InitVal);
10349 if (ECD->getInitExpr() &&
10350 !Context.hasSameType(NewTy, ECD->getInitExpr()->getType()))
10351 ECD->setInitExpr(ImplicitCastExpr::Create(Context, NewTy,
10353 ECD->getInitExpr(),
10360 ECD->setType(EnumType);
10362 ECD->setType(NewTy);