r176945 - Reverting r176944 until Author fixes test failure.

Edwin Vane edwin.vane at intel.com
Wed Mar 13 06:48:48 PDT 2013


Author: revane
Date: Wed Mar 13 08:48:47 2013
New Revision: 176945

URL: http://llvm.org/viewvc/llvm-project?rev=176945&view=rev
Log:
Reverting r176944 until Author fixes test failure.


Modified:
    cfe/trunk/lib/Tooling/Tooling.cpp

Modified: cfe/trunk/lib/Tooling/Tooling.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/Tooling.cpp?rev=176945&r1=176944&r2=176945&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/Tooling.cpp (original)
+++ cfe/trunk/lib/Tooling/Tooling.cpp Wed Mar 13 08:48:47 2013
@@ -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
       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;
     }
   }





More information about the cfe-commits mailing list