aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2021-10-07 09:42:50 -0700
committerDavid Faust <david.faust@oracle.com>2021-10-11 10:46:40 -0700
commit85338a7f1ca9bc6d62ea3eb3e0c796b31a58bbbe (patch)
tree2aa14109077705bcfefb2fc8736ce6d1fd865929 /gcc/rust/parse
parent99c28309d3553346d4f0337dbae49f4a8e48da01 (diff)
downloadgcc-85338a7f1ca9bc6d62ea3eb3e0c796b31a58bbbe.zip
gcc-85338a7f1ca9bc6d62ea3eb3e0c796b31a58bbbe.tar.gz
gcc-85338a7f1ca9bc6d62ea3eb3e0c796b31a58bbbe.tar.bz2
Remove lambda iterators in various HIR classes
This patch removes the lambda iterators used in various HIR objects. These iterators make interacting with the IR for static analysis more difficult. Instead, get_X () helpers are added for accessing elements, and uses of the iterators replaced with for loops. The following objects are adjusted in this patch: - HIR::ArrayElemsValues - HIR::TupleExpr - HIR::StructExprField - HIR::StructStruct - HIR::TupleStruct Fixes: #703, #704, #705, #706, #707
Diffstat (limited to 'gcc/rust/parse')
0 files changed, 0 insertions, 0 deletions