From d5c9420ff544a05cae83456fe897e1c3b7299878 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 llvm-svn: 329758 --- clang/lib/Driver/ToolChains/NaCl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Driver/ToolChains/NaCl.cpp b/clang/lib/Driver/ToolChains/NaCl.cpp index 89a18944c319..1a6680c3def2 100644 --- a/clang/lib/Driver/ToolChains/NaCl.cpp +++ b/clang/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; } }