Ah, ok. Now we're on the same page. I've changed my mind, I don't see a better platform agnostic way of looking for short enums than your suggestion... so I think that's the best option. I'll make the change, and commit. http://reviews.llvm.org/D4869