diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2018-04-19 23:30:15 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2018-04-19 23:30:15 +0000 |
commit | ab9b78b20020ca91221bfc6d881621dd67fd0e9d (patch) | |
tree | 6bbb2f80f3f4f26bf09f8bac1967dba0e65548ae /llvm/lib | |
parent | 468bc0d8b9c5ca13af4c3d87b36dc544ccae9265 (diff) | |
download | bcm5719-llvm-ab9b78b20020ca91221bfc6d881621dd67fd0e9d.tar.gz bcm5719-llvm-ab9b78b20020ca91221bfc6d881621dd67fd0e9d.zip |
[CFG] [analyzer] Add construction contexts for loop condition variables.
Loop condition variables, eg.
while (shared_ptr<int> P = getIntPtr()) { ... })
weren't handled in r324794 because they don't go through the common
CFGBuilder::VisitDeclStmt method. Which means that they regressed
after r324800.
Fix the regression by duplicating the necessary construction context scan in
the loop visiting code.
Differential Revision: https://reviews.llvm.org/D45706
llvm-svn: 330382
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions