Lines Matching full:consumer
2982 VisibleDeclConsumer &Consumer,
3003 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass);
3016 QualifiedNameLookup, InBaseClass, Consumer, Visited);
3061 true, Consumer, Visited);
3074 Consumer, Visited);
3082 LookupVisibleDecls(*I, Result, QualifiedNameLookup, false, Consumer,
3090 true, Consumer, Visited);
3098 QualifiedNameLookup, InBaseClass, Consumer, Visited);
3104 LookupVisibleDecls(*I, Result, QualifiedNameLookup, false, Consumer,
3111 LookupVisibleDecls(*I, Result, QualifiedNameLookup, false, Consumer,
3119 QualifiedNameLookup, true, Consumer, Visited);
3126 VisibleDeclConsumer &Consumer,
3140 Consumer.FoundDecl(ND, Visited.checkHidden(ND), 0, false);
3164 /*InBaseClass=*/false, Consumer, Visited);
3178 /*InBaseClass=*/false, Consumer, Visited);
3192 /*InBaseClass=*/false, Consumer, Visited);
3203 /*InBaseClass=*/false, Consumer, Visited);
3208 LookupVisibleDecls(S->getParent(), Result, UDirs, Consumer, Visited);
3212 VisibleDeclConsumer &Consumer,
3233 ::LookupVisibleDecls(Initial, Result, UDirs, Consumer, Visited);
3237 VisibleDeclConsumer &Consumer,
3245 /*InBaseClass=*/false, Consumer, Visited);
3678 /// \brief Add keywords to the consumer as possible typo corrections.
3680 TypoCorrectionConsumer &Consumer,
3685 Consumer.addKeywordResult("template");
3687 Consumer.addKeywordResult("operator");
3692 Consumer.addKeywordResult("super");
3706 Consumer.addKeywordResult(CTypeSpecs[I]);
3709 Consumer.addKeywordResult("restrict");
3711 Consumer.addKeywordResult("bool");
3713 Consumer.addKeywordResult("_Bool");
3716 Consumer.addKeywordResult("class");
3717 Consumer.addKeywordResult("typename");
3718 Consumer.addKeywordResult("wchar_t");
3721 Consumer.addKeywordResult("char16_t");
3722 Consumer.addKeywordResult("char32_t");
3723 Consumer.addKeywordResult("constexpr");
3724 Consumer.addKeywordResult("decltype");
3725 Consumer.addKeywordResult("thread_local");
3730 Consumer.addKeywordResult("typeof");
3734 Consumer.addKeywordResult("const_cast");
3735 Consumer.addKeywordResult("dynamic_cast");
3736 Consumer.addKeywordResult("reinterpret_cast");
3737 Consumer.addKeywordResult("static_cast");
3741 Consumer.addKeywordResult("sizeof");
3743 Consumer.addKeywordResult("false");
3744 Consumer.addKeywordResult("true");
3753 Consumer.addKeywordResult(CXXExprs[I]);
3757 Consumer.addKeywordResult("this");
3760 Consumer.addKeywordResult("alignof");
3761 Consumer.addKeywordResult("nullptr");
3768 Consumer.addKeywordResult("_Alignof");
3779 Consumer.addKeywordResult(CStmts[I]);
3782 Consumer.addKeywordResult("catch");
3783 Consumer.addKeywordResult("try");
3787 Consumer.addKeywordResult("break");
3790 Consumer.addKeywordResult("continue");
3793 Consumer.addKeywordResult("case");
3794 Consumer.addKeywordResult("default");
3798 Consumer.addKeywordResult("namespace");
3799 Consumer.addKeywordResult("template");
3803 Consumer.addKeywordResult("explicit");
3804 Consumer.addKeywordResult("friend");
3805 Consumer.addKeywordResult("mutable");
3806 Consumer.addKeywordResult("private");
3807 Consumer.addKeywordResult("protected");
3808 Consumer.addKeywordResult("public");
3809 Consumer.addKeywordResult("virtual");
3814 Consumer.addKeywordResult("using");
3817 Consumer.addKeywordResult("static_assert");
3897 TypoCorrectionConsumer Consumer(*this, Typo);
3908 LookupVisibleDecls(MemberContext, LookupKind, Consumer);
3915 LookupVisibleDecls(*I, LookupKind, Consumer);
3929 LookupVisibleDecls(QualifiedDC, LookupKind, Consumer);
3940 Consumer.addCorrection(Cached->second);
3973 Consumer.FoundName(I->getKey());
3985 Consumer.FoundName(Name);
3990 AddKeywordsToConsumer(*this, Consumer, S, CCC, SS && SS->isNotEmpty());
3993 if (Consumer.empty()) {
4003 unsigned ED = Consumer.getBestEditDistance(true);
4036 while (!Consumer.empty()) {
4037 TypoCorrectionConsumer::distance_iterator DI = Consumer.begin();
4147 Consumer.erase(DI);
4173 // iterations of the main while() loop over the Consumer's contents.
4185 Consumer.addCorrection(TC);
4202 if (Consumer.empty()) return TypoCorrection();
4204 TypoResultsMap &BestResults = Consumer.getBestResults();
4205 ED = Consumer.getBestEditDistance(true);