[Chapel Merge] Remove unnecessary enum enumeration helpers

Branch: refs/heads/main
Revision: aeb8500
Author: bradcray
Link: Remove unnecessary enum enumeration helpers by bradcray · Pull Request #18709 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18709 from bradcray/remove-enum-enumerate-helpers

Remove unnecessary enum enumeration helpers

[reviewed by @mppf and @ronawho]

While debugging some enum functionality, I was realizing that the
implementation of our ways of iterating over enums had become fairly
complete overkill (and/or maybe always were?). This removes those
capabilities, which may reduce compile times and/or execution times
somewhat for programs using enums (or maybe just programs containing
iterations over enums?)

Modified Files:
M compiler/passes/buildDefaultFunctions.cpp

M modules/standard/IO.chpl
M modules/standard/Types.chpl
M test/release/examples/benchmarks/lcals/LCALSChecksums.chpl

Compare: https://github.com/chapel-lang/chapel/compare/ac493ce6e157...aeb8500bf7fb