aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-02-15 02:32:32 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-02-15 02:32:32 +0000
commit94020268fe9f48a88f06a9739ce7b6025945338c (patch)
treec179fc676a59b0b0a53eccfbdf9bebfa239b4854 /llvm/lib/Object/Object.cpp
parente231bd342eacb2fe84af9d563c77ea4be5e1f250 (diff)
downloadllvm-94020268fe9f48a88f06a9739ce7b6025945338c.zip
llvm-94020268fe9f48a88f06a9739ce7b6025945338c.tar.gz
llvm-94020268fe9f48a88f06a9739ce7b6025945338c.tar.bz2
[analyzer] Allow inlining constructors into return values.
This only affects the cfg-temporary-dtors mode - in this mode we begin inlining constructors that are constructing function return values. These constructors have a correct construction context since r324952. Because temporary destructors are not only never inlined, but also don't have the correct target region yet, this change is not entirely safe. But this will be fixed in the subsequent commits, while this stays off behind the cfg-temporary-dtors flag. Lifetime extension for return values is still not modeled correctly. Differential Revision: https://reviews.llvm.org/D42875 llvm-svn: 325202
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions