reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/ASTImporter.cpp
 5415   VarDecl *Definition = D->getDefinition();
 5416   if (Definition && Definition != D) {
 5418       return Importer.MapImported(D, *ImportedDefOrErr);
 5424   if (Error Err = importInto(VarTemplate, D->getSpecializedTemplate()))
 5429   if (Error Err = ImportDeclContext(D, DC, LexicalDC))
 5433   ExpectedSLoc BeginLocOrErr = import(D->getBeginLoc());
 5437   auto IdLocOrErr = import(D->getLocation());
 5444       D->getTemplateArgs().data(), D->getTemplateArgs().size(), TemplateArgs))
 5444       D->getTemplateArgs().data(), D->getTemplateArgs().size(), TemplateArgs))
 5458       if (!D->isThisDeclarationADefinition() ||
 5459           IsStructuralMatch(D, FoundDef)) {
 5463         return Importer.MapImported(D, FoundDef);
 5469     if (Error Err = importInto(T, D->getType()))
 5472     auto TInfoOrErr = import(D->getTypeSourceInfo());
 5478         D->getTemplateArgsInfo(), ToTAInfo))
 5483     if (auto *FromPartial = dyn_cast<PartVarSpecDecl>(D)) {
 5497       if (GetImportedOrCreateDecl(ToPartial, D, Importer.getToContext(), DC,
 5500                                   D->getStorageClass(), TemplateArgs, ArgInfos))
 5515       if (GetImportedOrCreateDecl(D2, D, Importer.getToContext(), DC,
 5518                                   D->getStorageClass(), TemplateArgs))
 5522     if (D->getPointOfInstantiation().isValid()) {
 5523       if (ExpectedSLoc POIOrErr = import(D->getPointOfInstantiation()))
 5529     D2->setSpecializationKind(D->getSpecializationKind());
 5536     if (auto LocOrErr = import(D->getQualifierLoc()))
 5541     if (D->isConstexpr())
 5548     D2->setAccess(D->getAccess());
 5551   if (Error Err = ImportInitializer(D, D2))