summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-04-19 23:30:15 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-04-19 23:30:15 +0000
commitab9b78b20020ca91221bfc6d881621dd67fd0e9d (patch)
tree6bbb2f80f3f4f26bf09f8bac1967dba0e65548ae /llvm/lib
parent468bc0d8b9c5ca13af4c3d87b36dc544ccae9265 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud