HomePhabricator

[Clang] Add VerboseOutputStream to CompilerInstance

Description

[Clang] Add VerboseOutputStream to CompilerInstance

Remove one instance of a hardcoded output stream in
CompilerInstance::ExecuteAction. There are still other cases of output
being hard-coded to standard streams in ExecuteCompilerInvocation, but
this patch covers the case when no flags like -version or -help are
passed, namely the "X warnings and Y errors generated." diagnostic.

Differential Revision: https://reviews.llvm.org/D53768

Details

Committed
scott.linderOct 21 2019, 12:04 PM
Differential Revision
D53768: Add VerboseOutputStream to CompilerInstance
Branches
Unknown
Tags
Unknown