From 2c7bb6c07235bcd3f74acee01d772fa6d5991c9f Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Tue, 23 May 2017 05:17:49 +0000 Subject: [PATCH] Added LLVM_FALLTHROUGH to address gcc warning: this statement may fall through. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303604 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/ToolChains/Myriad.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Driver/ToolChains/Myriad.cpp b/lib/Driver/ToolChains/Myriad.cpp index f70ce93c45..6fdb5a2248 100644 --- a/lib/Driver/ToolChains/Myriad.cpp +++ b/lib/Driver/ToolChains/Myriad.cpp @@ -217,6 +217,7 @@ MyriadToolChain::MyriadToolChain(const Driver &D, const llvm::Triple &Triple, default: D.Diag(clang::diag::err_target_unsupported_arch) << Triple.getArchName() << "myriad"; + LLVM_FALLTHROUGH; case llvm::Triple::sparc: case llvm::Triple::sparcel: case llvm::Triple::shave: -- 2.40.0