Lines Matching defs:FoundDef
3009 EnumDecl *FoundDef = FoundEnum->getDefinition();
3010 if (D->isThisDeclarationADefinition() && FoundDef)
3011 return Importer.MapImported(D, FoundDef);
3154 RecordDecl *FoundDef = FoundRecord->getDefinition();
3155 if (D->isThisDeclarationADefinition() && FoundDef) {
3158 Importer.MapImported(D, FoundDef);
3160 auto *FoundCXX = dyn_cast<CXXRecordDecl>(FoundDef);
3164 // FoundDef may not have every implicit method that D has
3169 // FIXME: We can return FoundDef here.
4545 VarDecl *FoundDef = FoundVar->getDefinition();
4546 if (D->isThisDeclarationADefinition() && FoundDef)
4549 return Importer.MapImported(D, FoundDef);
6443 VarTemplateDecl *FoundDef = getTemplateDefinition(FoundTemplate);
6448 if (FoundDef)
6449 return Importer.MapImported(D, FoundDef);
6453 if (FoundDef && D->isThisDeclarationADefinition())
6454 return Importer.MapImported(D, FoundDef);
6565 VarDecl *FoundDef = FoundSpecialization->getDefinition();
6573 if (FoundDef)
6574 return Importer.MapImported(D, FoundDef);
6580 if (FoundDef && D->isThisDeclarationADefinition())
6581 return Importer.MapImported(D, FoundDef);