Add a printout when ICG parses header file with no Trick header comment #281

Added the printout.
This commit is contained in:
Alex Lin 2016-08-19 10:04:42 -05:00
parent c32b239472
commit 82049ead95

View File

@ -162,6 +162,9 @@ bool PrintAttributes::openIOFile(std::string header_file_name) {
open the file and write header information */
outfile.open(out_of_date_io_files[header_file_name].c_str()) ;
printer->printIOHeader(outfile, header_file_name) ;
if ( ! cs.hasTrickHeader(header_file_name) ) {
std::cout << "No Trick header comment found in " << header_file_name << "" << std::endl ;
}
std::cout << "Writing " << out_of_date_io_files[header_file_name] << "" << std::endl ;
// Get all of the ignored types from this file.
ignored_types[header_file_name] = cs.getIgnoreTypes(header_file_name) ;