[PATCH] D53768: Add VerboseOutputStream to CompilerInstance
Scott Linder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 26 09:40:40 PDT 2018
scott.linder created this revision.
scott.linder added a reviewer: rsmith.
Herald added a subscriber: cfe-commits.
An attempt at removing 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 attempts to cover some cases when no specific flags (e.g. -version or -help) are passed, namely the "X warnings and Y errors generated." diagnostic.
Repository:
rC Clang
https://reviews.llvm.org/D53768
Files:
include/clang/Frontend/CompilerInstance.h
lib/Frontend/CompilerInstance.cpp
unittests/Frontend/OutputStreamTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53768.171312.patch
Type: text/x-patch
Size: 4559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181026/1e2712aa/attachment.bin>
More information about the cfe-commits
mailing list