The children statements might be NULL. Check for this case in 
isContainedInStatement().

llvm-svn: 76408
diff --git a/clang/lib/Index/ASTLocation.cpp b/clang/lib/Index/ASTLocation.cpp
index 84d7936..e869707 100644
--- a/clang/lib/Index/ASTLocation.cpp
+++ b/clang/lib/Index/ASTLocation.cpp
@@ -51,8 +51,9 @@
   
   for (Stmt::child_iterator
          I = Parent->child_begin(), E = Parent->child_end(); I != E; ++I) {
-    if (isContainedInStatement(Node, *I))
-      return true;
+    if (*I)
+      if (isContainedInStatement(Node, *I))
+        return true;
   }
   
   return false;