summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-04-18 17:35:55 +0000
committerSam McCall <sam.mccall@gmail.com>2019-04-18 17:35:55 +0000
commit3a75330f573a31c7e0f7e27c5d34501c293673a5 (patch)
treef03efb79d8b134a73546eafd43fa52e99a8c78d0 /clang/lib/Frontend/CompilerInstance.cpp
parent640f7b58756cc50b1c564c1c2db7ef13b035c443 (diff)
downloadbcm5719-llvm-3a75330f573a31c7e0f7e27c5d34501c293673a5.tar.gz
bcm5719-llvm-3a75330f573a31c7e0f7e27c5d34501c293673a5.zip
[CodeComplete] Remove obsolete isOutputBinary().
Summary: It's never set to true. Its only effect would be to set stdout to binary mode. Hopefully we have better ways of doing this by now :-) Reviewers: hokein Subscribers: jkorous, arphaman, kadircet, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60871 llvm-svn: 358696
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index c5afe2a47b5..9c70a70ed7e 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -585,12 +585,6 @@ void CompilerInstance::createCodeCompletionConsumer() {
setCodeCompletionConsumer(nullptr);
return;
}
-
- if (CompletionConsumer->isOutputBinary() &&
- llvm::sys::ChangeStdoutToBinary()) {
- getPreprocessor().getDiagnostics().Report(diag::err_fe_stdout_binary);
- setCodeCompletionConsumer(nullptr);
- }
}
void CompilerInstance::createFrontendTimer() {
OpenPOWER on IntegriCloud