contrib/gcc/cp/mangle.c
/* Non-terminal <CV-qualifiers> for type nodes.  Returns the number of
   CV-qualifiers written for TYPE.

     <CV-qualifiers> ::= [r] [V] [K]  */
Non-terminal  for type nodes.  Returns the number of
CV-qualifiers written for TYPE.


Non - terminal for type nodes . Returns the number of CV - qualifiers written for TYPE .
static int
write_CV_qualifiers_for_type (const tree type)
{
  int num_qualifiers = 0;
  if (TYPE_QUALS (type) & TYPE_QUAL_RESTRICT)
    {
      write_char ('r');
      ++num_qualifiers;
    }
  if (TYPE_QUALS (type) & TYPE_QUAL_VOLATILE)
    {
      write_char ('V');
      ++num_qualifiers;
    }
  if (TYPE_QUALS (type) & TYPE_QUAL_CONST)
    {
      write_char ('K');
      ++num_qualifiers;
    }
  return num_qualifiers;
}
static int write_CV_qualifiers_for_type ( const tree type ) { int num_qualifiers = 0 ; if ( TYPE_QUALS ( type ) & TYPE_QUAL_RESTRICT ) { write_char ( ' ' ) ; ++ num_qualifiers ; } if ( TYPE_QUALS ( type ) & TYPE_QUAL_VOLATILE ) { write_char ( ' ' ) ; ++ num_qualifiers ; } if ( TYPE_QUALS ( type ) & TYPE_QUAL_CONST ) { write_char ( ' ' ) ; ++ num_qualifiers ; } return num_qualifiers ; }
Non-terminal <CV-qualifiers> for type nodes.
Non - terminal <CV - qualifiers > for type nodes .
/* The order is specified by:

       "In cases where multiple order-insensitive qualifiers are
       present, they should be ordered 'K' (closest to the base type),
       'V', 'r', and 'U' (farthest from the base type) ..."  

     Note that we do not use cp_type_quals below; given "const
     int[3]", the "const" is emitted with the "int", not with the
     array.  */