aboutsummaryrefslogtreecommitdiff
path: root/changes/smartlist_foreach
blob: 2fd3a1a85c505af322537dcdc19468e534d677d1 (plain)
1
2
3
4
5
6
7
8
  o Code simplification and refactoring:
    - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
      10 lines. Doing so in the past has led to hard-to-debug code.
      The new style is to use the SMARTLIST_FOREACH_{BEGIN,END} pair.
      Issue 6400.
    - Do not nest SMARTLIST_FOREACH blocks within one another. Any
      nested block ought to be using SMARTLIST_FOREACH_{BEGIN,END}.
      Issue 6400.