From c45df068ee49f4b40802820b22d3cc4ba43ea627 Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Wed, 13 Mar 2013 13:48:47 +0000 Subject: [PATCH] Reverting r176944 until Author fixes test failure. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176945 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Tooling/Tooling.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/Tooling/Tooling.cpp b/lib/Tooling/Tooling.cpp index 58047b3aae..a9e7b84808 100644 --- a/lib/Tooling/Tooling.cpp +++ b/lib/Tooling/Tooling.cpp @@ -25,7 +25,6 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/Host.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/Support/Debug.h" // For chdir, see the comment in ClangTool::run for more information. #ifdef _WIN32 @@ -296,16 +295,14 @@ int ClangTool::run(FrontendActionFactory *ActionFactory) { ArgsAdjuster->Adjust(CompileCommands[I].second.CommandLine); assert(!CommandLine.empty()); CommandLine[0] = MainExecutable; - DEBUG({ - llvm::dbgs() << "Processing: " << File << ".\n"; - }); + llvm::outs() << "Processing: " << File << ".\n"; ToolInvocation Invocation(CommandLine, ActionFactory->create(), &Files); for (int I = 0, E = MappedFileContents.size(); I != E; ++I) { Invocation.mapVirtualFile(MappedFileContents[I].first, MappedFileContents[I].second); } if (!Invocation.run()) { - llvm::errs() << "Error while processing " << File << ".\n"; + llvm::outs() << "Error while processing " << File << ".\n"; ProcessingFailed = true; } } -- 2.40.0