Re: [C++ PATCH] ctor predicates

2017-07-12 Thread Nathan Sidwell
On 07/12/2017 03:14 PM, Christophe Lyon wrote: Hi Nathan, /gccsrc/libcc1/libcp1plugin.cc: In function ‘gcc_decl plugin_build_decl(cc1_plugin::connection*, const char*, gcc_cp_symbol_kind, gcc_type, const char*, gcc_address, const char*, unsigned int)’: /gccsrc/libcc1/libcp1plugin.cc:1422: err

Re: [C++ PATCH] ctor predicates

2017-07-12 Thread Christophe Lyon
Hi Nathan, On 12 July 2017 at 19:34, Nathan Sidwell wrote: > Now that all the cdtors have special names, we can detect them by looking at > the name, rather than a collection of other things. > > For the DECL_[CD]TOR_P cases we're now comparing identifiers, removing a > STRIP_TEMPLATE > > For th

[C++ PATCH] ctor predicates

2017-07-12 Thread Nathan Sidwell
Now that all the cdtors have special names, we can detect them by looking at the name, rather than a collection of other things. For the DECL_[CD]TOR_P cases we're now comparing identifiers, removing a STRIP_TEMPLATE For the IN_CHARGE case we're replacing a conjunction of 3 checks (2 of which