Lines Matching refs:ToVar
126 bool IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar,
2254 bool ASTNodeImporter::IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar, in IsStructuralMatch() argument
2259 return Ctx.IsStructurallyEquivalent(FromVar, ToVar); in IsStructuralMatch()
3241 VarDecl *ToVar = VarDecl::Create(Importer.getToContext(), DC, in VisitVarDecl() local
3246 ToVar->setQualifierInfo(Importer.Import(D->getQualifierLoc())); in VisitVarDecl()
3247 ToVar->setAccess(D->getAccess()); in VisitVarDecl()
3248 ToVar->setLexicalDeclContext(LexicalDC); in VisitVarDecl()
3249 Importer.Imported(D, ToVar); in VisitVarDecl()
3250 LexicalDC->addDeclInternal(ToVar); in VisitVarDecl()
3254 ToVar->setIsUsed(); in VisitVarDecl()
3257 if (ImportDefinition(D, ToVar)) in VisitVarDecl()
3260 return ToVar; in VisitVarDecl()