kzhuravl added a comment. Ah, you are right (http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations) thanks http://reviews.llvm.org/D21701