if_diff/src/idfMatchSmt.cxx
//============================================================================
// match_files(idfModel &, idfModel &)
//----------------------------------------------------------------------------
// Go through the matched SMT of model1 and process corresponding files.
//============================================================================
match_files(idfModel &, idfModel &)
Go through the matched SMT of model1 and process corresponding files.
match_files ( idfModel & idfModel & ) Go through the matched SMT of model1 and process corresponding files .
static void match_files(idfModel &model1, idfModel &model2)
{
  idfSmt *smt = model1.getSmt();
  for (; smt != NULL; smt = smt->getNext()) {
    idfSmt *match = smt->getMatch();
    if (match != NULL) {
      if (smt->isId() && match->isId()) {
      	idf_try_file_match(smt->getLocation(), match->getLocation(), model1, model2);
      }
    }
  }
}
static void match_files ( idfModel & model1 , idfModel & model2 ) { idfSmt * smt = model1 . getSmt ( ) ; for ( ; smt != NULL ; smt = smt -> getNext ( ) ) { idfSmt * match = smt -> getMatch ( ) ; if ( match != NULL ) { if ( smt -> isId ( ) && match -> isId ( ) ) { idf_try_file_match ( smt -> getLocation ( ) , match -> getLocation ( ) , model1 , model2 ) ; } } } }
match_files(idfModel &, idfModel &)
Go through the matched SMT of model1 and process corresponding files.
match_files ( idfModel & idfModel & ) Go through the matched SMT of model1 and process corresponding files .