On Fri, Jun 23, 2017 at 04:46:06PM +0200, Marek Polacek wrote:
> +++ gcc/c-family/c-common.c
> @@ -433,6 +433,8 @@ const struct c_common_resword c_common_reswords[] =
> { "__transaction_cancel", RID_TRANSACTION_CANCEL, 0 },
> { "__typeof", RID_TYPEOF, 0 },
> { "__typeof__", RID_TYPEOF, 0 },
> + { "__typeof_noqual", RID_TYPEOF_NOQUAL, 0 },
> + { "__typeof_noqual__", RID_TYPEOF_NOQUAL, 0 },
> { "__underlying_type", RID_UNDERLYING_TYPE, D_CXXONLY },
> { "__volatile", RID_VOLATILE, 0 },
> { "__volatile__", RID_VOLATILE, 0 },
> @@ -506,6 +508,7 @@ const struct c_common_resword c_common_reswords[] =
> { "typename", RID_TYPENAME, D_CXXONLY | D_CXXWARN },
> { "typeid", RID_TYPEID, D_CXXONLY | D_CXXWARN },
> { "typeof", RID_TYPEOF, D_ASM | D_EXT },
> + { "typeof_noqual", RID_TYPEOF_NOQUAL, D_ASM | D_EXT },
Do you think we need this one? Wouldn't just __typeof_noqual and
__typeof_noqual__ be sufficient?
Jakub