================
Comment at: test/support/count_new.hpp:48
@@ +47,3 @@
+        --new_called;
+        ++delete_called;
+    }
----------------
Hmm... I just realized that these have really weird names. new_called doesn't 
count the number of times new was called, rather it counts the number of 
objects allocated by new that haven't been deleted yet (i.e. the tests don't 
care if there are extra allocations and deallocations between checks).

http://reviews.llvm.org/D6562



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

Reply via email to