================
@@ -91,6 +91,7 @@ enum class X86AVXABILevel {
   None,
   AVX,
   AVX512,
+  NumberOfEnumEntries // must be last
----------------
erichkeane wrote:

```suggestion
  Last = AVX512  // must be last
```

This is a pretty common pattern we have in our enums, perhaps this? 

https://github.com/llvm/llvm-project/pull/216339
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to