Home | History | Annotate | Download | only in Sema

Lines Matching defs:ED

1132   } else if (EnumDecl *ED = dyn_cast<EnumDecl>(Entity)) {
1133 if (MemberSpecializationInfo *MSInfo = ED->getMemberSpecializationInfo())
1134 Entity = getInstantiatedFrom(ED, MSInfo);
3473 SpecifierInfo(DeclContext *Ctx, NestedNameSpecifier *NNS, unsigned ED)
3474 : DeclCtx(Ctx), NameSpecifier(NNS), EditDistance(ED) {}
4003 unsigned ED = Consumer.getBestEditDistance(true);
4004 if (ED > 0 && Typo->getName().size() / ED < 3) {
4038 unsigned ED = DI->first;
4148 else if (!getLangOpts().CPlusPlus || QualifiedResults.empty() || !ED)
4205 ED = Consumer.getBestEditDistance(true);
4207 if (!AllowOnlyNNSChanges && ED > 0 && Typo->getName().size() / ED < 3) {
4225 if (ED == 0 && Result.isKeyword()) return TypoCorrection();
4247 if (ED == 0) return TypoCorrection();