dblaikie accepted this revision.
dblaikie added a reviewer: dblaikie.
This revision is now accepted and ready to land.

================
Comment at: tools/c-index-test/c-index-test.c:1435-1436
@@ -1434,3 +1434,4 @@
     /* recurse to get the first parent record that is not anonymous. */
-    CXCursor Parent, Record;
+    CXCursor Record;
+    CXCursor Parent = p;
     unsigned RecordIsAnonymous = 0;
----------------
Could you move these two declarations into the if (1438) since they appear to 
only be used within that scope anyway?


http://reviews.llvm.org/D19831



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to