diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2018-02-15 19:28:21 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2018-02-15 19:28:21 +0000 |
commit | 60f5aabc64ee900a37edf7510d3ca3bb88d3ea1c (patch) | |
tree | c1ba884f1ecebd6ea90e4353dd14e81ef1ef0daf /llvm/lib/Transforms/Coroutines | |
parent | fa6f1c01300c9e72f3892f84b0b73ee634da3075 (diff) | |
download | bcm5719-llvm-60f5aabc64ee900a37edf7510d3ca3bb88d3ea1c.tar.gz bcm5719-llvm-60f5aabc64ee900a37edf7510d3ca3bb88d3ea1c.zip |
[analyzer] Implement path notes for temporary destructors.
Temporary destructors fire at the end of the full-expression. It is reasonable
to attach the path note for entering/leaving the temporary destructor to its
CXXBindTemporaryExpr. This would not affect lifetime-extended temporaries with
their automatic destructors which aren't temporary destructors.
The path note may be confusing in the case of destructors after elidable copy
constructors.
Differential Revision: https://reviews.llvm.org/D43144
llvm-svn: 325284
Diffstat (limited to 'llvm/lib/Transforms/Coroutines')
0 files changed, 0 insertions, 0 deletions