diff options
Diffstat (limited to 'lib/Edit/RewriteObjCFoundationAPI.cpp')
| -rw-r--r-- | lib/Edit/RewriteObjCFoundationAPI.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Edit/RewriteObjCFoundationAPI.cpp b/lib/Edit/RewriteObjCFoundationAPI.cpp index 2148316532dec..dc501b564eea0 100644 --- a/lib/Edit/RewriteObjCFoundationAPI.cpp +++ b/lib/Edit/RewriteObjCFoundationAPI.cpp @@ -798,24 +798,28 @@ static bool rewriteToNumberLiteral(const ObjCMessageExpr *Msg,    case NSAPI::NSNumberWithUnsignedInt:    case NSAPI::NSNumberWithUnsignedInteger:      CallIsUnsigned = true; +    LLVM_FALLTHROUGH;    case NSAPI::NSNumberWithInt:    case NSAPI::NSNumberWithInteger:      break;    case NSAPI::NSNumberWithUnsignedLong:      CallIsUnsigned = true; +    LLVM_FALLTHROUGH;    case NSAPI::NSNumberWithLong:      CallIsLong = true;      break;    case NSAPI::NSNumberWithUnsignedLongLong:      CallIsUnsigned = true; +    LLVM_FALLTHROUGH;    case NSAPI::NSNumberWithLongLong:      CallIsLongLong = true;      break;    case NSAPI::NSNumberWithDouble:      CallIsDouble = true; +    LLVM_FALLTHROUGH;    case NSAPI::NSNumberWithFloat:      CallIsFloating = true;      break;  | 
