r329754 - [Driver] Handle the default case missed in r329748.
Chad Rosier via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 10 13:30:16 PDT 2018
Author: mcrosier
Date: Tue Apr 10 13:30:16 2018
New Revision: 329754
URL: http://llvm.org/viewvc/llvm-project?rev=329754&view=rev
Log:
[Driver] Handle the default case missed in r329748.
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=329754&r1=329753&r2=329754&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/NaCl.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/NaCl.cpp Tue Apr 10 13:30:16 2018
@@ -316,6 +316,8 @@ void NaClToolChain::addLibCxxIncludePath
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());
More information about the cfe-commits
mailing list