]> granicus.if.org Git - clang/commitdiff
[Driver] Handle the default case missed in r329748.
authorChad Rosier <mcrosier@codeaurora.org>
Tue, 10 Apr 2018 20:30:16 +0000 (20:30 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Tue, 10 Apr 2018 20:30:16 +0000 (20:30 +0000)
Differential Revision: https://reviews.llvm.org/D45499

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

lib/Driver/ToolChains/NaCl.cpp

index 2e5365b4814dc67519faae73ad3a9ec68cdeddf2..89a18944c319372f963c35cb427106d188aa9510 100644 (file)
@@ -316,6 +316,8 @@ void NaClToolChain::addLibCxxIncludePaths(
 
   SmallString<128> P(D.Dir + "/../");
   switch (getTriple().getArch()) {
+  default:
+    break;
   case llvm::Triple::arm:
     llvm::sys::path::append(P, "arm-nacl/include/c++/v1");
     addSystemInclude(DriverArgs, CC1Args, P.str());