r200507 - Driver: Don't use DOS style paths on UNIX
David Majnemer
david.majnemer at gmail.com
Thu Jan 30 17:35:56 PST 2014
Author: majnemer
Date: Thu Jan 30 19:35:55 2014
New Revision: 200507
URL: http://llvm.org/viewvc/llvm-project?rev=200507&view=rev
Log:
Driver: Don't use DOS style paths on UNIX
We'd add, as a fallback, DOS style paths when using the driver using a
win32 triple. On a UNIX-like platform, this isn't particularly helpful.
Modified:
cfe/trunk/lib/Driver/WindowsToolChain.cpp
Modified: cfe/trunk/lib/Driver/WindowsToolChain.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/WindowsToolChain.cpp?rev=200507&r1=200506&r2=200507&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/WindowsToolChain.cpp (original)
+++ cfe/trunk/lib/Driver/WindowsToolChain.cpp Thu Jan 30 19:35:55 2014
@@ -324,7 +324,6 @@ void Windows::AddClangSystemIncludeArgs(
VSDir + "\\VC\\PlatformSDK\\Include");
return;
}
-#endif // _MSC_VER
// As a fallback, select default install paths.
const StringRef Paths[] = {
@@ -335,6 +334,7 @@ void Windows::AddClangSystemIncludeArgs(
"C:/Program Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include"
};
addSystemIncludes(DriverArgs, CC1Args, Paths);
+#endif // _MSC_VER
}
void Windows::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs,
More information about the cfe-commits
mailing list