On Mon, Nov 7, 2011 at 7:54 AM, Dodji Seketeli wrote:
>> On 11/05/2011 07:36 PM, Dodji Seketeli wrote:
>> > +#define TYPE_DECL_NAMES_ALIAS_TEMPLATE_P(NODE) \
>>
>> This doesn't seem to be needed anymore.
>
> Removed, thanks.
>
>>
>> > +dump_alias_template_specialization (tr
On 11/07/2011 10:54 AM, Dodji Seketeli wrote:
I didn't realize the elaborated-type-specifier case. Fixed now.
There still seem to be problems printing the scope:
namespace N
{
template using U = T*;
};
void f(N::U) { blah; }
wa.C: In function ‘void N::f(U)’:
wa.C:6:21: error
> On 11/05/2011 07:36 PM, Dodji Seketeli wrote:
> > +#define TYPE_DECL_NAMES_ALIAS_TEMPLATE_P(NODE) \
>
> This doesn't seem to be needed anymore.
Removed, thanks.
>
> > +dump_alias_template_specialization (tree t, int flags)
> > +{
> > + gcc_assert (alias_template_speci
On 11/05/2011 07:36 PM, Dodji Seketeli wrote:
+#define TYPE_DECL_NAMES_ALIAS_TEMPLATE_P(NODE) \
This doesn't seem to be needed anymore.
+dump_alias_template_specialization (tree t, int flags)
+{
+ gcc_assert (alias_template_specialization_p (t));
+
+ if (CLASS_TYPE_P
Jason Merrill writes:
> On 10/27/2011 03:10 PM, Dodji Seketeli wrote:
> > +/* Setter for the TYPE_DECL_ALIAS_P proprety above. */
> > +#define SET_TYPE_DECL_ALIAS_P(NODE, VAL) \
> > + (DECL_LANG_FLAG_6 (TYPE_DECL_CHECK (NODE)) = (VAL))
>
> This seems unnecessary.
Removed.
>
>
On 10/27/2011 03:10 PM, Dodji Seketeli wrote:
+/* Setter for the TYPE_DECL_ALIAS_P proprety above. */
+#define SET_TYPE_DECL_ALIAS_P(NODE, VAL) \
+ (DECL_LANG_FLAG_6 (TYPE_DECL_CHECK (NODE)) = (VAL))
This seems unnecessary.
+#define TYPE_DECL_NAMES_ALIAS_TEMPLATE_P(NODE)
On Thu, Oct 27, 2011 at 2:10 PM, Dodji Seketeli wrote:
> Hello,
>
> This patch adds support for the alias-declaration feature of the c++11
> specification, introduced by the paper N2258[1] and voted into in the
> standard. It's a derivative work of a preliminary patch attached by
> Jason Merrill