summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-09-08 14:08:07 +0000
committerTobias Grosser <tobias@grosser.es>2016-09-08 14:08:07 +0000
commit55a7af7da5b6cac6da012741dca48c8ab857801c (patch)
tree974b9a21b2caf85e280180d31ec81461a2b393b5 /lldb/packages/Python
parentb316dc166f8ad41c6d845870e065ded9c1c54399 (diff)
downloadbcm5719-llvm-55a7af7da5b6cac6da012741dca48c8ab857801c.tar.gz
bcm5719-llvm-55a7af7da5b6cac6da012741dca48c8ab857801c.zip
ScopInfo: Make clear that no double-free problem exists
When running the clang static analyser to check for memory issues, this code originally showed a double free, as the analyser was unable to understand that isl_set_free always returns NULL and consequently later uses of the isl object we just freed will never be reached. Without this knowledge, the analyser has to issue a warning. We refactor the code to make it clear that for empty maps the current loop iteration is aborted. llvm-svn: 280940
Diffstat (limited to 'lldb/packages/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud