diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-25 00:40:30 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-25 00:40:30 +0000 |
commit | 54d67caeee4fdce81f07163832f1163d5f2af5d2 (patch) | |
tree | 58a2119092b3e5a4a021d96e0de722131e3d354a /lib/Analysis/BasicConstraintManager.cpp | |
parent | a6a6499a904441fc9e82ba9dd4155b8bc33f38f9 (diff) |
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?
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicConstraintManager.cpp')
0 files changed, 0 insertions, 0 deletions