Use range-based for loop in AST::process
authorRupert Swarbrick <rswarbrick@gmail.com>
Mon, 20 Apr 2020 15:24:57 +0000 (16:24 +0100)
committerZachary Snow <zachary.j.snow@gmail.com>
Fri, 14 May 2021 03:37:27 +0000 (23:37 -0400)
commit51ed4a7149f64729edeb5ee8419f3303636180e7
treef00ac9acf7a7418ce07740214285897a4a5f6253
parent9e02786d3944ff0625e37a29fc9233c5ce81c1f5
Use range-based for loop in AST::process

No functional change: just get rid of the explicit iterator and
replace (*it)-> with child->. It's even the same number of characters,
but is hopefully a little easier to read.
frontends/ast/ast.cc