From c1635cf3aad6ce1fc048c2ad9daa010fd432b8f5 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Tue, 10 Apr 2018 21:19:05 +0000 Subject: [PATCH] Handle the default case This was omitted in D45422 resulting in a warning. Differential Revision: https://reviews.llvm.org/D45499 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329758 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/ToolChains/NaCl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Driver/ToolChains/NaCl.cpp b/lib/Driver/ToolChains/NaCl.cpp index 89a18944c3..1a6680c3de 100644 --- a/lib/Driver/ToolChains/NaCl.cpp +++ b/lib/Driver/ToolChains/NaCl.cpp @@ -334,6 +334,8 @@ void NaClToolChain::addLibCxxIncludePaths( llvm::sys::path::append(P, "mipsel-nacl/include/c++/v1"); addSystemInclude(DriverArgs, CC1Args, P.str()); break; + default: + break; } } -- 2.40.0