diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-03 15:20:48 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-03 15:20:48 +0000 | 
| commit | 551c698530debaae81139c7c76a29fb762793362 (patch) | |
| tree | 547e0e59163c33f2142998714eb5f957e65d1a57 /lib/ARCMigrate | |
| parent | 416ada0f75bab22b084a1776deb229cd4a669c4d (diff) | |
Diffstat (limited to 'lib/ARCMigrate')
| -rw-r--r-- | lib/ARCMigrate/TransRetainReleaseDealloc.cpp | 1 | ||||
| -rw-r--r-- | lib/ARCMigrate/TransformActions.cpp | 1 | 
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/ARCMigrate/TransRetainReleaseDealloc.cpp b/lib/ARCMigrate/TransRetainReleaseDealloc.cpp index f81133f3aad3..389f3655aa52 100644 --- a/lib/ARCMigrate/TransRetainReleaseDealloc.cpp +++ b/lib/ARCMigrate/TransRetainReleaseDealloc.cpp @@ -78,6 +78,7 @@ public:          }        }        // Pass through. +      LLVM_FALLTHROUGH;      case OMF_retain:      case OMF_release:        if (E->getReceiverKind() == ObjCMessageExpr::Instance) diff --git a/lib/ARCMigrate/TransformActions.cpp b/lib/ARCMigrate/TransformActions.cpp index c628b54ed414..4f3fb5845925 100644 --- a/lib/ARCMigrate/TransformActions.cpp +++ b/lib/ARCMigrate/TransformActions.cpp @@ -539,6 +539,7 @@ void TransformActionsImpl::addRemoval(CharSourceRange range) {        return;      case Range_Contains:        RI->End = newRange.End; +      LLVM_FALLTHROUGH;      case Range_ExtendsBegin:        newRange.End = RI->End;        Removals.erase(RI);  | 
