[cfe-dev] Proposal: Add diagnostic enumeration to libclang

James Molloy james.molloy at arm.com
Thu Jan 5 00:02:43 PST 2012


I agree - just because there is one *obvious* correction does not mean that
it is the correct correction or what the user intended.

-----Original Message-----
From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On
Behalf Of Dave Abrahams
Sent: 05 January 2012 02:03
To: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] Proposal: Add diagnostic enumeration to libclang


on Wed Jan 04 2012, Matthieu Monrocq
<matthieu.monrocq-Re5JQEeQqe8AvxtiuMwx3w-AT-public.gmane.org> wrote:

> Indeed one of the driving philosophy is that Clang should only provide
> Fix Hints when there is a single possible correction, lest it broke
> the code further.

But that's technically impossible; there's never a single possible
correction.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev








More information about the cfe-dev mailing list