contrib/gcc/cp/typeck.c
/* Returns 1 if TYPE1 is at least as qualified as TYPE2.  */
Returns 1 if TYPE1 is at least as qualified as TYPE2.
Returns 1 if TYPE1 is at least as qualified as TYPE2 .
bool
at_least_as_qualified_p (tree type1, tree type2)
{
  int q1 = cp_type_quals (type1);
  int q2 = cp_type_quals (type2);
  return (q1 & q2) == q2;
}
bool at_least_as_qualified_p ( tree type1 , tree type2 ) { int q1 = cp_type_quals ( type1 ) ; int q2 = cp_type_quals ( type2 ) ; return ( q1 & q2 ) == q2 ; }
Returns 1 if TYPE1 is at least as qualified as TYPE2.
Returns 1 if TYPE1 is at least as qualified as TYPE2 .
/* All qualifiers for TYPE2 must also appear in TYPE1.  */