summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-22 20:57:52 +0000
committerChris Lattner <sabre@nondot.org>2009-01-22 20:57:52 +0000
commit8c5ffd07610476f5e7fd95fca8817e12c76584f4 (patch)
treeee64de49f047348be92ba96a748953b97b969d7b /clang
parente54b87f477ff073d8543d13d06acb620617c5780 (diff)
downloadbcm5719-llvm-8c5ffd07610476f5e7fd95fca8817e12c76584f4.tar.gz
bcm5719-llvm-8c5ffd07610476f5e7fd95fca8817e12c76584f4.zip
Adjust to api change.
llvm-svn: 62785
Diffstat (limited to 'clang')
-rw-r--r--clang/Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 900e0a03905..9d28720ce2d 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/Driver/clang.cpp
@@ -833,7 +833,7 @@ static std::string CreateTargetTriple() {
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('.'));
}
}
OpenPOWER on IntegriCloud