Lines Matching defs:ED
3335 SpecifierInfo(DeclContext *Ctx, NestedNameSpecifier *NNS, unsigned ED)
3336 : DeclCtx(Ctx), NameSpecifier(NNS), EditDistance(ED) {}
3835 unsigned ED = Consumer.getBestEditDistance(true);
3836 if (ED > 0 && Typo->getName().size() / ED < 3) {
3870 unsigned ED = DI->first;
3936 else if (!getLangOpts().CPlusPlus || QualifiedResults.empty() || !ED)
3999 ED = TypoCorrection::NormalizeEditDistance(Consumer.begin()->first);
4001 if (ED > 0 && Typo->getName().size() / ED < 3) {
4018 if (ED == 0 && Result.isKeyword()) return TypoCorrection();
4038 if (ED == 0) return TypoCorrection();