On account of evolution of the enum types, iteration over "everything" didn't really work.
Details
Details
Diff Detail
Diff Detail
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 | ||
---|---|---|
88 | 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 | ||
---|---|---|
88 | done. Thanks for the suggestion! |
In lots of other parts of LLVM, we add an extra "last" enum, I think I'd prefer that slightly.