[cfe-commits] r62785 - /cfe/trunk/Driver/clang.cpp
Chris Lattner
sabre at nondot.org
Thu Jan 22 12:57:52 PST 2009
Author: lattner
Date: Thu Jan 22 14:57:52 2009
New Revision: 62785
URL: http://llvm.org/viewvc/llvm-project?rev=62785&view=rev
Log:
Adjust to api change.
Modified:
cfe/trunk/Driver/clang.cpp
Modified: cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=62785&r1=62784&r2=62785&view=diff
==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Thu Jan 22 14:57:52 2009
@@ -833,7 +833,7 @@
Triple.resize(DarwinDashIdx + strlen("-darwin"));
// Only add the major part of the os version.
- std::string Version = llvm::sys::osVersion();
+ std::string Version = llvm::sys::getOSVersion();
Triple += Version.substr(0, Version.find('.'));
}
}
More information about the cfe-commits
mailing list