On 18.03.2012, at 03:56, David Blaikie wrote:

> Author: dblaikie
> Date: Sat Mar 17 21:56:47 2012
> New Revision: 153008
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=153008&view=rev
> Log:
> Use character literals for vexing initialization fixit hints.
> 
> Instead of suggesting " = 0" for "char c();", suggest " = '\0'", and similarly
> for other char types (wide, 16, and 32). Add tests for all these, and since
> this means testing such hints under C++0x, add tests for some untested C++0x
> hint cases in the existing code, including suggesting nullptr for pointer
> initialization.

Shouldn't we just hint to {} in C++11?

Sebastian
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to