diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-09 16:50:55 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-09 16:50:55 +0000 |
commit | 14c71c6644cee5cb704fbf750edf1558fa0bf3c5 (patch) | |
tree | 811607e918e6ca1a3d96bf0950109a12a284a5ca /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 41dc5a6e862702f270ae5d804654ab1484e1535e (diff) | |
download | bcm5719-llvm-14c71c6644cee5cb704fbf750edf1558fa0bf3c5.tar.gz bcm5719-llvm-14c71c6644cee5cb704fbf750edf1558fa0bf3c5.zip |
Analysis: Make CFG::graph_iterator dereference to non-const
Since the original commit in r145858, we've had `CFG::graph_iterator`
and `CFG::const_graph_iterator`, and both have derefenced to a
`const`-ified `value_type`. The former has an implicit conversion to
non-`const`, which is how this worked at all until r249782 started using
the dereference operator (partially reverted in r249783).
This fixes the non-const iterator to be non-const (sometimes
const-iterators are intentional, but with a separate const-ified class
(and a non-const implicit conversion leak) that's not likely to be the
case here).
llvm-svn: 249849
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions