[PATCH] D47351: [analyzer] Re-enable C++17-specific variable and member variable construction contexts.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 24 16:53:39 PDT 2018
NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet, rnkovacs.
Herald added subscribers: cfe-commits, baloghadamsoftware.
The recent refactoring allows us to easily support C++17 "copy-elided" constructor syntax for variables and constructor-initializers. Similar constructors for return values are still to be supported.
In particular, the change of using path-sensitive state traits made our liveness problems go away. The `elision_on_ternary_op_branches` test was failing without that.
https://reviews.llvm.org/D47350 allowed us to support the C++17 destructor in `testCtorInitializer()`.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5071 bytes
Desc: not available
More information about the cfe-commits