[PATCH] D15211: [ProfileData] Add unit test infrastructure for sample profile reader/writer

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 17:37:18 PST 2015


silvas added inline comments.

================
Comment at: unittests/ProfileData/SampleProfTest.cpp:31
@@ +30,3 @@
+  std::string Data;
+  std::unique_ptr<raw_ostream> OS;
+  std::unique_ptr<SampleProfileWriter> Writer;
----------------
Can you just hold this by value?


http://reviews.llvm.org/D15211





More information about the llvm-commits mailing list