diff options
| -rw-r--r-- | clang/Driver/clang.cpp | 2 | 
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('.'));      }    }  | 

