summaryrefslogtreecommitdiff
path: root/lib/Sema/JumpDiagnostics.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-12-19 22:06:11 +0000
committerAdrian Prantl <aprantl@apple.com>2017-12-19 22:06:11 +0000
commit550c57454603b9f471988ab8dd098fa67be734b4 (patch)
treec29b858f4f2423d5fbcbc69eb8321f104ccd9bdc /lib/Sema/JumpDiagnostics.cpp
parent24f2ba0729b8b3096c58a414872a9450d51e53f5 (diff)
downloadclang-550c57454603b9f471988ab8dd098fa67be734b4.tar.gz
Silence a bunch of implicit fallthrough warnings
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/JumpDiagnostics.cpp')
-rw-r--r--lib/Sema/JumpDiagnostics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/JumpDiagnostics.cpp b/lib/Sema/JumpDiagnostics.cpp
index 865aea9e22..64fa2c34b2 100644
--- a/lib/Sema/JumpDiagnostics.cpp
+++ b/lib/Sema/JumpDiagnostics.cpp
@@ -323,7 +323,7 @@ void JumpScopeChecker::BuildScopeInformation(Stmt *S,
BuildScopeInformation(Var, ParentScope);
++StmtsToSkip;
}
- // Fall through
+ LLVM_FALLTHROUGH;
case Stmt::GotoStmtClass:
// Remember both what scope a goto is in as well as the fact that we have