From: Sylvestre Ledru Date: Mon, 18 Aug 2014 15:13:44 +0000 (+0000) Subject: Add the break in the switch case (even if there is llvm_unreachable. It will silent... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01af2ae2cdd9152400f33cc40f63c997305d47e8;p=clang Add the break in the switch case (even if there is llvm_unreachable. It will silent coverity warning CID 1231654 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215897 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/InitHeaderSearch.cpp b/lib/Frontend/InitHeaderSearch.cpp index ebca2319d1..998ccf9e91 100644 --- a/lib/Frontend/InitHeaderSearch.cpp +++ b/lib/Frontend/InitHeaderSearch.cpp @@ -390,7 +390,7 @@ AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple, const HeaderSearchOp switch (os) { case llvm::Triple::Linux: llvm_unreachable("Include management is handled in the driver."); - + break; case llvm::Triple::Win32: switch (triple.getEnvironment()) { default: llvm_unreachable("Include management is handled in the driver.");