diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-16 13:45:29 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-16 13:45:29 +0000 |
commit | 77273fc52a1da73fc6b8ec22fd728712706e28b1 (patch) | |
tree | 1ee137b9017fe1b0c32229d97400bccb48f3d78f /clang/lib/Tooling/Tooling.cpp | |
parent | 6110e3bce65f3608ac18e3433f5197b35c38cfc0 (diff) | |
download | bcm5719-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.cpp | 4 |
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"; } } } |