Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [CFG] [analyzer] Add construction contexts for loop condition variables. | Artem Dergachev | 2018-04-19 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | [analyzer] Trying to fix Windows buildbots after r327258 | Maxim Ostapenko | 2018-03-12 | 1 | -1/+1 |
| | | | | llvm-svn: 327270 | ||||
* | [analyzer] Trying to fix buildbots after r327258 | Maxim Ostapenko | 2018-03-12 | 1 | -2/+2 |
| | | | | llvm-svn: 327263 | ||||
* | [analyzer] Add scope information to CFG | Maxim Ostapenko | 2018-03-12 | 1 | -0/+1171 |
This patch adds two new CFG elements CFGScopeBegin and CFGScopeEnd that indicate when a local scope begins and ends respectively. We use first VarDecl declared in a scope to uniquely identify it and add CFGScopeBegin and CFGScopeEnd elements into corresponding basic blocks. Differential Revision: https://reviews.llvm.org/D16403 llvm-svn: 327258 |