Searched refs:ToVar (Results 1 – 1 of 1) sorted by relevance
126 bool IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar,2202 bool ASTNodeImporter::IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar, in IsStructuralMatch() argument2207 return Ctx.IsStructurallyEquivalent(FromVar, ToVar); in IsStructuralMatch()3151 VarDecl *ToVar = VarDecl::Create(Importer.getToContext(), DC, in VisitVarDecl() local3156 ToVar->setQualifierInfo(Importer.Import(D->getQualifierLoc())); in VisitVarDecl()3157 ToVar->setAccess(D->getAccess()); in VisitVarDecl()3158 ToVar->setLexicalDeclContext(LexicalDC); in VisitVarDecl()3159 Importer.Imported(D, ToVar); in VisitVarDecl()3160 LexicalDC->addDeclInternal(ToVar); in VisitVarDecl()3163 if (ImportDefinition(D, ToVar)) in VisitVarDecl()[all …]