[PATCH] D16947: [PGO] assignment operator does not get profile data

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 12:53:06 PST 2016


dblaikie added inline comments.

================
Comment at: cfe/trunk/test/Profile/def-assignop.cpp:27
@@ +26,3 @@
+
+int main() {
+  A a1, a2;
----------------
This doesn't need to be main or have an int return. Just make it a void function (with some generic name) & drop the "return 0" to keep it simple.


Repository:
  rL LLVM

http://reviews.llvm.org/D16947





More information about the llvm-commits mailing list