Replace hidl_enum_{iterator -> range}.

This class is technically an iterable object, not a range.

Bug: 78573628
Test: N/A
Change-Id: Ic52f0529d796f2e2f7fb707bd595bfc1a1030611
diff --git a/base/include/hidl/HidlSupport.h b/base/include/hidl/HidlSupport.h
index 5859b6a..71d0c7f 100644
--- a/base/include/hidl/HidlSupport.h
+++ b/base/include/hidl/HidlSupport.h
@@ -991,10 +991,19 @@
 
 /**
  * Every HIDL generated enum generates an implementation of this function.
- * E.x.: for(const auto v : hidl_enum_iterator<Enum>) { ... }
+ * E.x.: for(const auto v : hidl_enum_range<Enum>) { ... }
  */
 template <typename>
-struct hidl_enum_iterator;
+struct hidl_enum_range;
+
+/**
+ * Deprecated
+ *
+ * TODO(b/78573628): remove. This type is technically not an iterator but
+ *     is a range/iterable type.
+ */
+template <typename T>
+using hidl_enum_iterator = hidl_enum_range<T>;
 
 /**
  * Bitfields in HIDL are the underlying type of the enumeration.