Nice!
This found one bug in the libc++abi tests (r337906), and started diagnosing
the
dangling tuple reference case that libc++ worked hard to diagnose manually
(r337905).
/Eric
On Mon, Jul 23, 2018 at 6:55 PM Richard Smith via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: rsmith
>
Author: rsmith
Date: Mon Jul 23 17:55:08 2018
New Revision: 337790
URL: http://llvm.org/viewvc/llvm-project?rev=337790&view=rev
Log:
Warn if a local variable's initializer retains a pointer/reference to a
non-lifetime-extended temporary object.
Added:
cfe/trunk/test/SemaCXX/warn-dangling-loca