Replace C++ comments by C comments.

This commit is contained in:
Thomas Preud'homme 2011-06-27 15:32:11 +02:00 committed by Thomas Preud'homme
parent 398fd66490
commit d94c652edf
2 changed files with 9 additions and 9 deletions

View File

@ -7399,14 +7399,14 @@ c_parser_omp_stream_clause (c_parser *parser,
OMP_CLAUSE_CHAIN (omp_clause) = list;
list = omp_clause;
// TODO: TINO Check this
//if(OMP_CLAUSE_VIEW_ID (omp_clause) != NULL_TREE)
//{
// tree new_omp_clause = build_omp_clause (clause_loc, OMP_CLAUSE_PRIVATE);
// OMP_CLAUSE_DECL (new_omp_clause) = OMP_CLAUSE_VIEW_ID (omp_clause);
// OMP_CLAUSE_CHAIN (new_omp_clause) = list;
// list = new_omp_clause;
//}
/* TODO: TINO Check this */
/*if(OMP_CLAUSE_VIEW_ID (omp_clause) != NULL_TREE)
{
tree new_omp_clause = build_omp_clause (clause_loc, OMP_CLAUSE_PRIVATE);
OMP_CLAUSE_DECL (new_omp_clause) = OMP_CLAUSE_VIEW_ID (omp_clause);
OMP_CLAUSE_CHAIN (new_omp_clause) = list;
list = new_omp_clause;
}*/
if (c_parser_next_token_is (parser, CPP_COMMA))
c_parser_consume_token (parser);

View File

@ -5744,7 +5744,7 @@ gimplify_scan_omp_clauses (tree *list_p, gimple_seq *pre_p,
tree view = OMP_CLAUSE_VIEW_ID (c);
if(view != NULL_TREE)
{
//omp_add_variable (ctx, view, GOVD_LOCAL | GOVD_SEEN);
/*omp_add_variable (ctx, view, GOVD_LOCAL | GOVD_SEEN);*/
if (DECL_HAS_VALUE_EXPR_P (view))
{
tree new_decl = DECL_VALUE_EXPR (view);