Lines Matching refs:ToVar
126 bool IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar,
2202 bool ASTNodeImporter::IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar, in IsStructuralMatch() argument
2207 return Ctx.IsStructurallyEquivalent(FromVar, ToVar); in IsStructuralMatch()
3151 VarDecl *ToVar = VarDecl::Create(Importer.getToContext(), DC, in VisitVarDecl() local
3156 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()
3166 return ToVar; in VisitVarDecl()