[cfe-commits] r66889 - /cfe/trunk/lib/Driver/Driver.cpp
Daniel Dunbar
daniel at zuster.org
Fri Mar 13 05:23:29 PDT 2009
Author: ddunbar
Date: Fri Mar 13 07:23:29 2009
New Revision: 66889
URL: http://llvm.org/viewvc/llvm-project?rev=66889&view=rev
Log:
Driver: Fix thinko in Darwin host identification.
Modified:
cfe/trunk/lib/Driver/Driver.cpp
Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=66889&r1=66888&r2=66889&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Fri Mar 13 07:23:29 2009
@@ -583,7 +583,7 @@
} else
Arch = Triple;
- if (memcmp(&Platform[0], "darwin", 6) == 0)
+ if (memcmp(&OS[0], "darwin", 6) == 0)
return new DarwinHostInfo(Arch.c_str(), Platform.c_str(), OS.c_str());
return new UnknownHostInfo(Arch.c_str(), Platform.c_str(), OS.c_str());
More information about the cfe-commits
mailing list