Lines Matching refs:ToVar
125 bool IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar,
2194 bool ASTNodeImporter::IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar, in IsStructuralMatch() argument
2199 return Ctx.IsStructurallyEquivalent(FromVar, ToVar); in IsStructuralMatch()
3129 VarDecl *ToVar = VarDecl::Create(Importer.getToContext(), DC, in VisitVarDecl() local
3134 ToVar->setQualifierInfo(Importer.Import(D->getQualifierLoc())); in VisitVarDecl()
3135 ToVar->setAccess(D->getAccess()); in VisitVarDecl()
3136 ToVar->setLexicalDeclContext(LexicalDC); in VisitVarDecl()
3137 Importer.Imported(D, ToVar); in VisitVarDecl()
3138 LexicalDC->addDeclInternal(ToVar); in VisitVarDecl()
3141 if (ImportDefinition(D, ToVar)) in VisitVarDecl()
3144 return ToVar; in VisitVarDecl()