r209869 - PR11410 - Confusing diagnostic when trailing array element tries to call deleted default constructor
Alp Toker
alp at nuanti.com
Thu May 29 18:59:09 PDT 2014
On 30/05/2014 04:28, Nikola Smiljanic wrote:
> +def note_omitted_element_default_constructed : Note<
> + "initializer list shorter than initialized object, omitted element was "
> + "implicitly default constructed">;
That should read "default-constructed".
The message can be made shorter by dropping the first half without
losing value -- the source location is sufficiently informative.
It's unconventional to use 'was' when describing semantic analysis results.
Alp.
--
http://www.nuanti.com
the browser experts
More information about the cfe-commits
mailing list