Version.cpp (208954) | Version.cpp (209107) |
---|---|
1//===- Version.cpp - Clang Version Number -----------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 56 unchanged lines hidden (view full) --- 65std::string getClangFullVersion() { 66 std::string buf; 67 llvm::raw_string_ostream OS(buf); 68#ifdef CLANG_VENDOR 69 OS << CLANG_VENDOR; 70#endif 71 OS << "clang version " CLANG_VERSION_STRING " (" 72 << getClangFullRepositoryVersion() << ')'; | 1//===- Version.cpp - Clang Version Number -----------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 56 unchanged lines hidden (view full) --- 65std::string getClangFullVersion() { 66 std::string buf; 67 llvm::raw_string_ostream OS(buf); 68#ifdef CLANG_VENDOR 69 OS << CLANG_VENDOR; 70#endif 71 OS << "clang version " CLANG_VERSION_STRING " (" 72 << getClangFullRepositoryVersion() << ')'; |
73#ifdef CLANG_VENDOR_SUFFIX 74 OS << CLANG_VENDOR_SUFFIX; 75#endif |
|
73 return OS.str(); 74} 75 76} // end namespace clang | 76 return OS.str(); 77} 78 79} // end namespace clang |