r329758 - Handle the default case

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 10 14:19:05 PDT 2018


Author: phosek
Date: Tue Apr 10 14:19:05 2018
New Revision: 329758

URL: http://llvm.org/viewvc/llvm-project?rev=329758&view=rev
Log:
Handle the default case

This was omitted in D45422 resulting in a warning.

Differential Revision: https://reviews.llvm.org/D45499

Modified:
    cfe/trunk/lib/Driver/ToolChains/NaCl.cpp

Modified: cfe/trunk/lib/Driver/ToolChains/NaCl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/NaCl.cpp?rev=329758&r1=329757&r2=329758&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/NaCl.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/NaCl.cpp Tue Apr 10 14:19:05 2018
@@ -334,6 +334,8 @@ void NaClToolChain::addLibCxxIncludePath
     llvm::sys::path::append(P, "mipsel-nacl/include/c++/v1");
     addSystemInclude(DriverArgs, CC1Args, P.str());
     break;
+  default:
+    break;
   }
 }
 




More information about the cfe-commits mailing list