Skip to content
Commit 2def7eb3 authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

CIndex: Don't crash when visitor passes null child statements, and sprinkle some

asserts in cursor construction functions to make this more obvious.

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?

llvm-svn: 94391
parent 3e555fd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment