summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ASTUnit.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/ASTUnit.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/ASTUnit.cpp')
-rw-r--r--clang/lib/Frontend/ASTUnit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp
index 6a78b93b205..221bf97c350 100644
--- a/clang/lib/Frontend/ASTUnit.cpp
+++ b/clang/lib/Frontend/ASTUnit.cpp
@@ -1877,8 +1877,7 @@ namespace {
public:
AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next,
const CodeCompleteOptions &CodeCompleteOpts)
- : CodeCompleteConsumer(CodeCompleteOpts, Next.isOutputBinary()),
- AST(AST), Next(Next) {
+ : CodeCompleteConsumer(CodeCompleteOpts), AST(AST), Next(Next) {
// Compute the set of contexts in which we will look when we don't have
// any information about the specific context.
NormalContexts
OpenPOWER on IntegriCloud