mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 17:11:44 +03:00
Mark intentional fall through as such. (#2218)
This commit is contained in:
parent
498f790915
commit
cc35356d78
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue