FreeBSD/contrib/gcc/c-parser.c
/* Validate that a clause of the given type does not already exist.  */
Validate that a clause of the given type does not already exist.
Validate that a clause of the given type does not already exist .
static void
check_no_duplicate_clause (tree clauses, enum tree_code code, const char *name)
{
  tree c;
  for (c = clauses; c ; c = OMP_CLAUSE_CHAIN (c))
    if (OMP_CLAUSE_CODE (c) == code)
      {
	error ("too many %qs clauses", name);
	break;
      }
}
static void check_no_duplicate_clause ( tree clauses , enum tree_code code , const char * name ) { tree c ; for ( c = clauses ; c ; c = OMP_CLAUSE_CHAIN ( c ) ) if ( OMP_CLAUSE_CODE ( c ) == code ) { error ( " " , name ) ; break ; } }
Validate that a clause of the given type does not already exist.
Validate that a clause of the given type does not already exist .