[PATCH] D15031: CFG: Add CFGElement for automatic variables that leave the scope
Matthias Gehre via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 7 15:03:01 PDT 2016
mgehre updated this revision to Diff 52959.
mgehre added a comment.
Update for review comments
- Change name from ObjLeavesScope to LifetimeEnds
- Make sure that trivially destructible objects end their lifetime after non-trivial destructible objects
- Add test
- Add analyzer option to enable LifetimeEnds CFG entries (disabled by default)
Note that AddImplicitDtors is mutally exclusive with AddLifetime (may be changed by a later patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 48798 bytes
Desc: not available
More information about the cfe-commits