summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/Tooling.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-16 13:45:29 +0000
committerAlp Toker <alp@nuanti.com>2014-05-16 13:45:29 +0000
commit77273fc52a1da73fc6b8ec22fd728712706e28b1 (patch)
tree1ee137b9017fe1b0c32229d97400bccb48f3d78f /clang/lib/Tooling/Tooling.cpp
parent6110e3bce65f3608ac18e3433f5197b35c38cfc0 (diff)
downloadbcm5719-llvm-77273fc52a1da73fc6b8ec22fd728712706e28b1.tar.gz
bcm5719-llvm-77273fc52a1da73fc6b8ec22fd728712706e28b1.zip
Tooling: use stderr, not stdout for missing command line messages
Matches other tooling output that use stderr. llvm-svn: 208988
Diffstat (limited to 'clang/lib/Tooling/Tooling.cpp')
-rw-r--r--clang/lib/Tooling/Tooling.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Tooling/Tooling.cpp b/clang/lib/Tooling/Tooling.cpp
index 610bfc8f269..3fe0c838701 100644
--- a/clang/lib/Tooling/Tooling.cpp
+++ b/clang/lib/Tooling/Tooling.cpp
@@ -256,7 +256,7 @@ bool FrontendActionFactory::runInvocation(CompilerInvocation *Invocation,
// pass it to an std::unique_ptr declared after the Compiler variable.
std::unique_ptr<FrontendAction> ScopedToolAction(create());
- // Create the compilers actual diagnostics engine.
+ // Create the compiler's actual diagnostics engine.
Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false);
if (!Compiler.hasDiagnostics())
return false;
@@ -290,7 +290,7 @@ ClangTool::ClangTool(const CompilationDatabase &Compilations,
// about the .cc files that were not found, and the use case where I
// specify all files I want to run over explicitly, where this should
// be an error. We'll want to add an option for this.
- llvm::outs() << "Skipping " << File << ". Command line not found.\n";
+ llvm::errs() << "Skipping " << File << ". Compile command not found.\n";
}
}
}
OpenPOWER on IntegriCloud