summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2019-03-21 00:15:07 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2019-03-21 00:15:07 +0000
commitaa40315c69fb667c070293ea94f6caaf4a0a6ec6 (patch)
tree78b67bc379605102073514154a02c0af3841283e /libcxx/test/std
parentf1d87f8b4c430d72e7ab07e13508336a7841c3e6 (diff)
downloadbcm5719-llvm-aa40315c69fb667c070293ea94f6caaf4a0a6ec6.tar.gz
bcm5719-llvm-aa40315c69fb667c070293ea94f6caaf4a0a6ec6.zip
[CFG] [analyzer] pr41142: C++17: Skip transparent InitListExprs in constructors.
When searching for construction contexts, i.e. figuring out which statements define the object that is constructed by each construct-expression, ignore transparent init-list expressions because they don't add anything to the context. This allows the Static Analyzer to model construction, destruction, materialization, lifetime extension correctly in more cases. Also fixes a crash caused by incorrectly evaluating initial values of variables initialized with such expressions. Differential Revision: https://reviews.llvm.org/D59573 llvm-svn: 356634
Diffstat (limited to 'libcxx/test/std')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud