summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/Tooling.cpp
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2013-03-13 13:48:47 +0000
committerEdwin Vane <edwin.vane@intel.com>2013-03-13 13:48:47 +0000
commit2e9b174da693aea114d3be995e6d421fd3c495ce (patch)
treeac4261823d2abd66db1b78c333204a368e2f01ad /clang/lib/Tooling/Tooling.cpp
parent666f6b6de7c2df546e957aaa7e8bbe29664e0957 (diff)
downloadbcm5719-llvm-2e9b174da693aea114d3be995e6d421fd3c495ce.tar.gz
bcm5719-llvm-2e9b174da693aea114d3be995e6d421fd3c495ce.zip
Reverting r176944 until Author fixes test failure.
llvm-svn: 176945
Diffstat (limited to 'clang/lib/Tooling/Tooling.cpp')
-rw-r--r--clang/lib/Tooling/Tooling.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/lib/Tooling/Tooling.cpp b/clang/lib/Tooling/Tooling.cpp
index 58047b3aae9..a9e7b84808c 100644
--- a/clang/lib/Tooling/Tooling.cpp
+++ b/clang/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;
}
}
OpenPOWER on IntegriCloud