On 5/26/21 5:27 PM, Matthias Kretz wrote:
From: Matthias Kretz <kr...@kde.org> dump_type on 'const std::string' should not print 'const string' unless TFF_UNQUALIFIED_NAME is requested. gcc/cp/ChangeLog: PR c++/100763 * error.c: Call dump_scope when printing a typedef.
+ if (! (flags & TFF_UNQUALIFIED_NAME)) + dump_scope (pp, CP_DECL_CONTEXT (TYPE_NAME (t)), flags);
You can use "decl" instead of "TYPE_NAME (t)" here. OK with that change. Jason