Lines Matching refs:ToVar
131 bool IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar,
2375 bool ASTNodeImporter::IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar, in IsStructuralMatch() argument
2380 return Ctx.IsStructurallyEquivalent(FromVar, ToVar); in IsStructuralMatch()
3465 VarDecl *ToVar = VarDecl::Create(Importer.getToContext(), DC, in VisitVarDecl() local
3470 ToVar->setQualifierInfo(Importer.Import(D->getQualifierLoc())); in VisitVarDecl()
3471 ToVar->setAccess(D->getAccess()); in VisitVarDecl()
3472 ToVar->setLexicalDeclContext(LexicalDC); in VisitVarDecl()
3473 Importer.Imported(D, ToVar); in VisitVarDecl()
3474 LexicalDC->addDeclInternal(ToVar); in VisitVarDecl()
3478 ToVar->setIsUsed(); in VisitVarDecl()
3481 if (ImportDefinition(D, ToVar)) in VisitVarDecl()
3484 return ToVar; in VisitVarDecl()