Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304648
This commit is contained in:
parent
4c7705c849
commit
efa712444c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue