aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-02-15 03:13:36 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-02-15 03:13:36 +0000
commit1f68d9d39ea3c095063d5bab0f13c28bff367c79 (patch)
treee45c6b7ab8a21d18a48d15cd045f5a11e8ac41a1 /llvm/lib/Object/Object.cpp
parent168e29f6af138ccd1d8919164cae71a15ae735d1 (diff)
downloadllvm-1f68d9d39ea3c095063d5bab0f13c28bff367c79.zip
llvm-1f68d9d39ea3c095063d5bab0f13c28bff367c79.tar.gz
llvm-1f68d9d39ea3c095063d5bab0f13c28bff367c79.tar.bz2
[CFG] Provide construction contexts for temproary objects.
Constructors of C++ temporary objects that have destructors now can be queried to discover that they're indeed constructing temporary objects. The respective CXXBindTemporaryExpr, which is also repsonsible for destroying the temporary at the end of full-expression, is now available at the construction site in the CFG. This is all the context we need to provide for temporary objects that are not lifetime extended. For lifetime-extended temporaries, more context is necessary. Differential Revision: https://reviews.llvm.org/D43056 llvm-svn: 325210
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions