[C++ Patch] Improve throw, sizeof, and alignof locations & more

2019-12-16 Thread Paolo Carlini
Hi, another batch of work. Primarily, more of the idea of moving up the construction of the compound location thus passing it to the cxx_sizeof_or_alignof* and build_throw functions to obtain better locations for all the diagnostics issued by the latter. During the work a few mildly interesti

Re: [C++ Patch] Improve throw, sizeof, and alignof locations & more

2019-12-18 Thread Jason Merrill
On 12/16/19 6:06 PM, Paolo Carlini wrote: Hi, another batch of work. Primarily, more of the idea of moving up the construction of the compound location thus passing it to the cxx_sizeof_or_alignof* and build_throw functions to obtain better locations for all the diagnostics issued by the latt