[cfe-commits] PATCH: Improve err_invalid_use_of_bound_member_func diagnostics
Matt Beaumont-Gay
matthewbg at google.com
Tue Jan 4 14:15:11 PST 2011
On Tue, Jan 4, 2011 at 14:08, Peter Collingbourne <peter at pcc.me.uk> wrote:
> On Tue, Jan 04, 2011 at 01:52:09PM -0800, Matt Beaumont-Gay wrote:
>> - << E->getSourceRange();
>> + << E->getSourceRange()
>> + << FixItHint::CreateInsertion(Loc, "()");
>
> I'm not sure we should do this unless we know that the member function
> can be called with zero arguments.
Yeah, Chandler and I were just discussing that. Needs a bit more
machinery, so I'll start working on it. I'll commit the diagnostic
text change separately.
-Matt
More information about the cfe-commits
mailing list