On Dec 20, 2012, at 7:26 AM, Dmitri Gribenko <[email protected]> wrote:

> On Thu, Dec 20, 2012 at 5:25 PM, Douglas Gregor <[email protected]> wrote:
>> 
>> On Dec 19, 2012, at 9:17 AM, Dmitri Gribenko <[email protected]> wrote:
>> 
>>> Author: gribozavr
>>> Date: Wed Dec 19 11:17:09 2012
>>> New Revision: 170563
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=170563&view=rev
>>> Log:
>>> Comment parsing: add a missing 'else'.  Found by inspection.
>>> 
>>> No testcase because we were just building an extra AST node and eventually
>>> throwing it away, so it did not affect correctness.
>> 
>> So, can we teach Clang to warn about this form of mistake?
> 
> I think we can.  I'll try writing something this weekend (if I have time).

Cool, thanks!

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

Reply via email to