compnerd added inline comments.

================
Comment at: lib/Driver/MSVCToolChain.cpp:478
@@ +477,3 @@
+  // toolset, if it exists.
+  if (llvm::sys::fs::exists(X64BinDir)) {
+    path = X64BinDir.str();
----------------
As per the consensus, this should be:

    if (llvm::sys::getProcessTriple().getArch() == llvm::Triple::x86_64 && 
llvm::sys::fs::exists(X64BinDir)) {


https://reviews.llvm.org/D22426



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to