reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3643 SmallVector<Decl*, 2> Redecls = getCanonicalForwardRedeclChain(D); 3647 for (; RedeclIt != Redecls.end() && *RedeclIt != D; ++RedeclIt) { 3652 assert(*RedeclIt == D); 3659 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc)) 3667 if (D->isFileVarDecl()) { 3676 if (!hasSameVisibilityContext(FoundVar, D)) 3678 if (Importer.IsStructurallyEquivalent(D->getType(), 3684 if (D->isThisDeclarationADefinition() && FoundDef) 3687 return Importer.MapImported(D, FoundDef); 3692 if (D->getInit() && FoundVar->getAnyInitializer(FoundDInit)) 3694 return Importer.MapImported(D, const_cast<VarDecl*>(FoundDInit)); 3703 = Importer.getToContext().getAsArrayType(D->getType()); 3708 if (auto TyOrErr = import(D->getType())) 3723 << Name << D->getType() << FoundVar->getType(); 3745 D->getType(), D->getTypeSourceInfo(), D->getInnerLocStart(), 3745 D->getType(), D->getTypeSourceInfo(), D->getInnerLocStart(), 3745 D->getType(), D->getTypeSourceInfo(), D->getInnerLocStart(), 3746 D->getQualifierLoc())) 3753 if (GetImportedOrCreateDecl(ToVar, D, Importer.getToContext(), DC, 3757 D->getStorageClass())) 3761 ToVar->setAccess(D->getAccess()); 3769 if (Error Err = ImportInitializer(D, ToVar)) 3772 if (D->isConstexpr()) 3775 if (D->getDeclContext()->containsDeclAndLoad(D)) 3775 if (D->getDeclContext()->containsDeclAndLoad(D)) 3777 if (DC != LexicalDC && D->getLexicalDeclContext()->containsDeclAndLoad(D)) 3777 if (DC != LexicalDC && D->getLexicalDeclContext()->containsDeclAndLoad(D))