]> granicus.if.org Git - clang/commit
[Analyzer] Mark `SymbolData` parts of iterator position as live in program state...
authorAdam Balogh <adam.balogh@ericsson.com>
Mon, 16 Jul 2018 09:27:27 +0000 (09:27 +0000)
committerAdam Balogh <adam.balogh@ericsson.com>
Mon, 16 Jul 2018 09:27:27 +0000 (09:27 +0000)
commitd7888b0fe44112d6620ef66f5d75d859cbace18d
tree2e00d555574cc9414840d89d1df01b9c00d9a607
parentb813e9608d5e93c65454d82760e26ea304f925cb
[Analyzer] Mark `SymbolData` parts of iterator position as live in program state maps

Marking a symbolic expression as live is non-recursive. In our checkers we
either use conjured symbols or conjured symbols plus/minus integers to
represent abstract position of iterators, so in this latter case we also
must mark the `SymbolData` part of these symbolic expressions as live to
prevent them from getting reaped.

Differential Revision: https://reviews.llvm.org/D48764

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337151 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/IteratorChecker.cpp