summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Sema/CodeCompleteTest.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/unittests/Sema/CodeCompleteTest.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/unittests/Sema/CodeCompleteTest.cpp')
-rw-r--r--clang/unittests/Sema/CodeCompleteTest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/unittests/Sema/CodeCompleteTest.cpp b/clang/unittests/Sema/CodeCompleteTest.cpp
index de37e0c4b82..a6368550986 100644
--- a/clang/unittests/Sema/CodeCompleteTest.cpp
+++ b/clang/unittests/Sema/CodeCompleteTest.cpp
@@ -38,9 +38,7 @@ struct CompletionContext {
class VisitedContextFinder : public CodeCompleteConsumer {
public:
VisitedContextFinder(CompletionContext &ResultCtx)
- : CodeCompleteConsumer(/*CodeCompleteOpts=*/{},
- /*CodeCompleteConsumer*/ false),
- ResultCtx(ResultCtx),
+ : CodeCompleteConsumer(/*CodeCompleteOpts=*/{}), ResultCtx(ResultCtx),
CCTUInfo(std::make_shared<GlobalCodeCompletionAllocator>()) {}
void ProcessCodeCompleteResults(Sema &S, CodeCompletionContext Context,
OpenPOWER on IntegriCloud