[cfe-commits] r81013 - /cfe/trunk/tools/clang-cc/clang-cc.cpp
Daniel Dunbar
daniel at zuster.org
Fri Sep 4 10:43:10 PDT 2009
Author: ddunbar
Date: Fri Sep 4 12:43:10 2009
New Revision: 81013
URL: http://llvm.org/viewvc/llvm-project?rev=81013&view=rev
Log:
Use llvm::sys::getHostTriple, not LLVM_HOSTTRIPLE.
Modified:
cfe/trunk/tools/clang-cc/clang-cc.cpp
Modified: cfe/trunk/tools/clang-cc/clang-cc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/clang-cc.cpp?rev=81013&r1=81012&r2=81013&view=diff
==============================================================================
--- cfe/trunk/tools/clang-cc/clang-cc.cpp (original)
+++ cfe/trunk/tools/clang-cc/clang-cc.cpp Fri Sep 4 12:43:10 2009
@@ -2181,8 +2181,8 @@
ClangFrontendTimer = new llvm::Timer("Clang front-end time");
if (Verbose)
- fprintf(stderr, "clang-cc version 1.0 based upon " PACKAGE_STRING
- " hosted on " LLVM_HOSTTRIPLE "\n");
+ llvm::errs() << "clang-cc version 1.0 based upon " << PACKAGE_STRING
+ << " hosted on " << llvm::sys::getHostTriple() << "\n";
// If no input was specified, read from stdin.
if (InputFilenames.empty())
More information about the cfe-commits
mailing list