mgrang added inline comments.

================
Comment at: lib/CodeGen/CGBlocks.cpp:1593
+  // Sort the captures by offset.
+  std::sort(ManagedCaptures.begin(), ManagedCaptures.end());
 }
----------------
Please use llvm::sort instead of std::sort. See 
https://llvm.org/docs/CodingStandards.html#beware-of-non-deterministic-sorting-order-of-equal-elements


Repository:
  rC Clang

https://reviews.llvm.org/D50152



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

Reply via email to