On Jan 24, 2010, at 4:40 PM, Daniel Dunbar wrote:

> Author: ddunbar
> Date: Sun Jan 24 18:40:30 2010
> New Revision: 94391
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=94391&view=rev
> Log:
> CIndex: Don't crash when visitor passes null child statements, and sprinkle 
> some
> asserts in cursor construction functions to make this more obvious.

Silly me. Thanks!

> Doug, please check. c-index-test would previously crash on this code:
> --
> for(;;) {}
> --
> Do we need a custom visit of the for statement to cover the variable
> declarations?


Yes. And also for the condition variables of if/switch/while. I'm planning to 
do those now.

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

Reply via email to