]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add operator* to gimple_stmt_iterator and gphi_iterator
authorRichard Biener <rguenther@suse.de>
Tue, 18 Apr 2023 14:58:26 +0000 (16:58 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 21 Apr 2023 13:53:21 +0000 (15:53 +0200)
commitc39cdd9e654540f74cd2478019c40f1611554a44
tree89e7769e75c3d7c2fd7884f15103b9fddfa2b8db
parent68c0df8da73cf46e29834cc825f488f4d6b33f98
Add operator* to gimple_stmt_iterator and gphi_iterator

This allows STL style iterator dereference.  It's the same
as gsi_stmt () or .phi ().

* gimple-iterator.h (gimple_stmt_iterator::operator*): Add.
(gphi_iterator::operator*): Likewise.
gcc/gimple-iterator.h