From: Petr Hosek Date: Tue, 10 Apr 2018 21:19:05 +0000 (+0000) Subject: Handle the default case X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1635cf3aad6ce1fc048c2ad9daa010fd432b8f5;p=clang 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 --- 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; } }