[PATCH] D45499: [Driver] Handle the default case

Chad Rosier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 10 13:33:18 PDT 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rC329754: [Driver] Handle the default case missed in r329748. (authored by mcrosier, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D45499?vs=141893&id=141899#toc

Repository:
  rC Clang

https://reviews.llvm.org/D45499

Files:
  lib/Driver/ToolChains/NaCl.cpp


Index: lib/Driver/ToolChains/NaCl.cpp
===================================================================
--- lib/Driver/ToolChains/NaCl.cpp
+++ lib/Driver/ToolChains/NaCl.cpp
@@ -316,6 +316,8 @@
 
   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());


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45499.141899.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180410/d14b4736/attachment.bin>


More information about the cfe-commits mailing list