]> granicus.if.org Git - clang/commitdiff
Eliminate "enumeration value not handled in switch" warnings
authorDouglas Katzman <dougk@google.com>
Tue, 23 Jun 2015 04:20:44 +0000 (04:20 +0000)
committerDouglas Katzman <dougk@google.com>
Tue, 23 Jun 2015 04:20:44 +0000 (04:20 +0000)
(Caused by r240370)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240376 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index b2e8051699b0b05a85785c52972f49680c65f503..6ec855b1846dfae2ae891c600f3eefb85018ac3f 100644 (file)
@@ -2455,6 +2455,8 @@ void NaCl_TC::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs,
     llvm::sys::path::append(P, "x86_64-nacl/include/c++/v1");
     addSystemInclude(DriverArgs, CC1Args, P.str());
     break;
+  default:
+    break;
   }
 }