]> granicus.if.org Git - clang/commit
Don't apply NRVO to over-aligned variables. The caller only
authorJohn McCall <rjmccall@apple.com>
Fri, 11 Nov 2011 03:57:31 +0000 (03:57 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 11 Nov 2011 03:57:31 +0000 (03:57 +0000)
commit1cd76e8ca8f890a4defadcae3372c025ebe7607c
treed2dde090df58e7789a9dd698be3466d3e3d21f43
parent538773cbfbba03b85d931efe122b743b7b0cc60d
Don't apply NRVO to over-aligned variables.  The caller only
guarantees alignment up to the ABI alignment of the return type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
test/CodeGenCXX/nrvo.cpp