Mark intentional fall through as such. (#2218)

This commit is contained in:
Johan Engelen 2017-07-20 20:22:43 +02:00 committed by GitHub
parent 498f790915
commit cc35356d78

View file

@ -162,6 +162,7 @@ ldc::DIType ldc::DIBuilder::CreateBasicType(Type *type) {
Encoding = DW_ATE_unsigned_char;
break;
}
// fall through
case Twchar:
case Tdchar:
Encoding = DW_ATE_UTF;
@ -172,6 +173,7 @@ ldc::DIType ldc::DIBuilder::CreateBasicType(Type *type) {
Encoding = DW_ATE_signed_char;
break;
}
// fall through
case Tint16:
case Tint32:
case Tint64:
@ -184,6 +186,7 @@ ldc::DIType ldc::DIBuilder::CreateBasicType(Type *type) {
Encoding = DW_ATE_unsigned_char;
break;
}
// fall through
case Tuns16:
case Tuns32:
case Tuns64: