"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/backend/unparser/CxxCodeGeneration/unparseCxx_expressions.C" between
rose-0.11.53.0.tar.gz and rose-0.11.54.0.tar.gz

About: ROSE is a compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C, C++, UPC, Fortran, OpenMP, Java, Python and PHP applications.

unparseCxx_expressions.C  (rose-0.11.53.0):unparseCxx_expressions.C  (rose-0.11.54.0)
skipping to change at line 8115 skipping to change at line 8115
#endif #endif
} }
// DQ (8/4/2012): We need this case to handle tests such as test20 12_162.C. // DQ (8/4/2012): We need this case to handle tests such as test20 12_162.C.
// DQ (3/29/2012): For EDG 4.x it appear we need a bit more since both con_init->get_declaration() and con_init->get_class_decl() can be NULL (see test2012_52.C). // DQ (3/29/2012): For EDG 4.x it appear we need a bit more since both con_init->get_declaration() and con_init->get_class_decl() can be NULL (see test2012_52.C).
else else
{ {
#if DEBUG_CONSTRUCTOR_INITIALIZER #if DEBUG_CONSTRUCTOR_INITIALIZER
printf ("In unparseConInit(): Need to handle new case for wh ere both con_init->get_declaration() and con_init->get_class_decl() can be NULL \n"); printf ("In unparseConInit(): Need to handle new case for wh ere both con_init->get_declaration() and con_init->get_class_decl() can be NULL \n");
printf ("In unparseConInit(): Get name of type = %p = %s nam e = %s \n",con_init->get_type(),con_init->get_type()->class_name().c_str(),"NOT EVALUATED YET"); printf ("In unparseConInit(): Get name of type = %p = %s nam e = %s \n",con_init->get_type(),con_init->get_type()->class_name().c_str(),"NOT EVALUATED YET");
#endif #endif
// TV (10/04/2021): These 2 need to be unset for SgTypedefTy
pe to be unparsed
newinfo.unset_isWithType();
newinfo.unset_SkipBaseType();
// TV (10/04/2021): I believe that should be here too (no te
st case just a belief)
newinfo.set_reference_node_for_qualification(con_init);
unp->u_type->unparseType(con_init->get_type(),newinfo); unp->u_type->unparseType(con_init->get_type(),newinfo);
// ROSE_ASSERT ( nm.is_null() == false ); // ROSE_ASSERT ( nm.is_null() == false );
} }
} }
#if DEBUG_CONSTRUCTOR_INITIALIZER #if DEBUG_CONSTRUCTOR_INITIALIZER
// printf ("In Unparse_ExprStmt::unparseConInit(): nm = %s \n",nm.str()); // printf ("In Unparse_ExprStmt::unparseConInit(): nm = %s \n",nm.str());
curprint ("\n /* In unparseConInit(): nm != NULL */ \n"); curprint ("\n /* In unparseConInit(): nm != NULL */ \n");
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)