On account of evolution of the enum types, iteration over "everything" didn't really work.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
We can't use constexpr (yet), MSVC 2013 doesn't support it. Would it be possible to fold the Max values into the enums?
Comment Actions
Just a minor tweak on my end.
include/llvm/ADT/Triple.h | ||
---|---|---|
87 ↗ | (On Diff #23877) | In lots of other parts of LLVM, we add an extra "last" enum, I think I'd prefer that slightly. |
include/llvm/ADT/Triple.h | ||
---|---|---|
87 ↗ | (On Diff #23877) | done. Thanks for the suggestion! |