[PATCH] D47671: [analyzer] Implement copy elision.

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 10 03:58:51 PDT 2018


xazax.hun added a comment.
Herald added a subscriber: mikhail.ramalho.

Just for the record, there is a common example where relying on copy elision might bite and google do not recommend relying on it for correctness: https://abseil.io/tips/120

The main purpose of sharing is to add some more context to the discussion, I do not consider this to be an argument, because I can still see that this practice as opinionated.


Repository:
  rC Clang

https://reviews.llvm.org/D47671





More information about the cfe-commits mailing list