[PATCH] cpp11-migrate: Transforms collect timing data.

Edwin Vane edwin.vane at intel.com
Thu May 30 07:27:39 PDT 2013



================
Comment at: cpp11-migrate/Core/Transform.cpp:43-45
@@ +42,5 @@
+
+  Timings.resize(Timings.size() + 1);
+  Timings.back().first = Filename;
+  Timings.back().second -= llvm::TimeRecord::getCurrentTime(true);
+  return true;
----------------
Dmitri Gribenko wrote:
> `.push_back()`?
I'm not sure why I thought it so important to avoid the extra copy a push_back() would entail. I'll fix it.


http://llvm-reviews.chandlerc.com/D893



More information about the cfe-commits mailing list