This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING^3] Wconversion: fixes for C++ front-end


"Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:

[...]

| > Make a list of all the places where the C++ front-end does not call
| > convert_and_check (that is already contained in your patch).
| 
| I don't understand this. Do you mean the places where the C++
| front-end calls a conversion function instead of convert_and_check ?

Yes.  Essentially, you can trace brack from ocp_convert, with a grep...

For ocp_convert() I have: force_rvalue(), cp_convert(), convert(),
convert_force(), initialize_handler_parm(), expand_default_init(),
convert_nontype_argument(), build_static_cast_1,
convert_for_initialization(). 

| (and which ones? convert, cp_convert, ...). There are around 66 calls
| to convert and 52 calls to cp_convert. :-(

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]