[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-commits
Subject: Re: [PATCH] D11394: Fix warnings about pessimizing return moves for C++11 and higher
From: Marshall Clow <mclow.lists () gmail ! com>
Date: 2015-07-22 15:42:02
Message-ID: 6cc194bd5e05341b8bc2fa1a988f2961 () localhost ! localdomain
[Download RAW message or body]
mclow.lists added inline comments.
================
Comment at: include/__config:724
@@ -719,1 +723,3 @@
+#endif
+
#ifndef _LIBCPP_HAS_NO_ASAN
----------------
I think that this needs more exploration; someone needs to look at the codegen.
return x;
is different from:
return (x); // this is an expression
I suspect that only one will trigger RVO.
http://reviews.llvm.org/D11394
_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic