Lines Matching refs:Result
46 /// the result set (when it returns true) and which declarations should be
50 typedef CodeCompletionResult Result;
54 std::vector<Result> Results;
57 /// into the result set, used to ensure that no declaration ever gets into
58 /// the result set twice.
141 /// Closely matching the preferred type gives a boost to a result's
166 void AdjustResultPriorityForDecl(Result &R);
168 void MaybeAddConstructorResults(Result R);
215 Result *data() { return Results.empty()? nullptr : &Results.front(); }
238 /// When an Objective-C method declaration result is added, and that
266 /// as a code-completion result.
275 /// \brief Check whether the result is hidden by the Hiding declaration.
277 /// \returns true if the result is hidden and cannot be found, false if
278 /// the hidden result could still be found. When false, \p R may be
279 /// modified to describe how the result can be found (e.g., via extra
281 bool CheckHiddenResult(Result &R, DeclContext *CurContext,
284 /// \brief Add a new result to this result set (if it isn't already in one
285 /// of the shadow maps), or replace an existing result (for, e.g., a
288 /// \param R the result to add (if it is unique).
290 /// \param CurContext the context in which this result will be named.
291 void MaybeAddResult(Result R, DeclContext *CurContext = nullptr);
293 /// \brief Add a new result to this result set, where we already know
296 /// \param R the result to add (if it is unique).
298 /// \param CurContext the context in which this result will be named.
300 /// \param Hiding the declaration that hides the result.
302 /// \param InBaseClass whether the result was found in a base
304 void AddResult(Result R, DeclContext *CurContext, NamedDecl *Hiding,
307 /// \brief Add a new non-declaration result to this result set.
308 void AddResult(Result R);
464 NestedNameSpecifier *Result = nullptr;
472 Result = NestedNameSpecifier::Create(Context, Result, Namespace);
475 Result = NestedNameSpecifier::Create(Context, Result,
479 return Result;
570 bool ResultBuilder::CheckHiddenResult(Result &R, DeclContext *CurContext,
588 // We can refer to the result with the appropriate qualification. Do it.
765 void ResultBuilder::AdjustResultPriorityForDecl(Result &R) {
791 void ResultBuilder::MaybeAddConstructorResults(Result R) {
829 void ResultBuilder::MaybeAddResult(Result R, DeclContext *CurContext) {
832 if (R.Kind != Result::RK_Declaration) {
833 // For non-declaration results, just add the result.
841 MaybeAddResult(Result(Using->getTargetDecl(),
904 // The newly-added result is hidden by an entry in the shadow map.
912 // Make sure that any given declaration only shows up in the result set once.
916 // If the filter is for nested-name-specifiers, then this result starts a
924 // If this result is supposed to have an informative qualifier, add one.
938 // Insert this result into the set of results and into the current shadow
947 void ResultBuilder::AddResult(Result R, DeclContext *CurContext,
949 if (R.Kind != Result::RK_Declaration) {
950 // For non-declaration results, just add the result.
957 AddResult(Result(Using->getTargetDecl(),
975 // Make sure that any given declaration only shows up in the result set once.
979 // If the filter is for nested-name-specifiers, then this result starts a
990 // If this result is supposed to have an informative qualifier, add one.
1004 // Adjust the priority if this result comes from a base class.
1024 // Insert this result into the set of results.
1031 void ResultBuilder::AddResult(Result R) {
1032 assert(R.Kind != Result::RK_Declaration &&
1259 /// \brief Visible declaration consumer that adds a code-completion result
1275 ResultBuilder::Result Result(ND, Results.getBasePriority(ND), nullptr,
1277 Results.AddResult(Result, CurContext, Hiding, InBaseClass);
1285 typedef CodeCompletionResult Result;
1286 Results.AddResult(Result("short", CCP_Type));
1287 Results.AddResult(Result("long", CCP_Type));
1288 Results.AddResult(Result("signed", CCP_Type));
1289 Results.AddResult(Result("unsigned", CCP_Type));
1290 Results.AddResult(Result("void", CCP_Type));
1291 Results.AddResult(Result("char", CCP_Type));
1292 Results.AddResult(Result("int", CCP_Type));
1293 Results.AddResult(Result("float", CCP_Type));
1294 Results.AddResult(Result("double", CCP_Type));
1295 Results.AddResult(Result("enum", CCP_Type));
1296 Results.AddResult(Result("struct", CCP_Type));
1297 Results.AddResult(Result("union", CCP_Type));
1298 Results.AddResult(Result("const", CCP_Type));
1299 Results.AddResult(Result("volatile", CCP_Type));
1303 Results.AddResult(Result("_Complex", CCP_Type));
1304 Results.AddResult(Result("_Imaginary", CCP_Type));
1305 Results.AddResult(Result("_Bool", CCP_Type));
1306 Results.AddResult(Result("restrict", CCP_Type));
1313 Results.AddResult(Result("bool", CCP_Type +
1315 Results.AddResult(Result("class", CCP_Type));
1316 Results.AddResult(Result("wchar_t", CCP_Type));
1324 Results.AddResult(Result(Builder.TakeString()));
1327 Results.AddResult(Result("auto", CCP_Type));
1328 Results.AddResult(Result("char16_t", CCP_Type));
1329 Results.AddResult(Result("char32_t", CCP_Type));
1335 Results.AddResult(Result(Builder.TakeString()));
1342 // Results.AddResult(Result("_Decimal32"));
1343 // Results.AddResult(Result("_Decimal64"));
1344 // Results.AddResult(Result("_Decimal128"));
1349 Results.AddResult(Result(Builder.TakeString()));
1355 Results.AddResult(Result(Builder.TakeString()));
1359 Results.AddResult(Result("_Nonnull", CCP_Type));
1360 Results.AddResult(Result("_Null_unspecified", CCP_Type));
1361 Results.AddResult(Result("_Nullable", CCP_Type));
1367 typedef CodeCompletionResult Result;
1371 Results.AddResult(Result("extern"));
1372 Results.AddResult(Result("static"));
1378 typedef CodeCompletionResult Result;
1383 Results.AddResult(Result("explicit"));
1384 Results.AddResult(Result("friend"));
1385 Results.AddResult(Result("mutable"));
1386 Results.AddResult(Result("virtual"));
1395 Results.AddResult(Result("inline"));
1508 std::string Result;
1509 T.getAsStringInternal(Result, Policy);
1510 return Allocator.CopyString(Result);
1538 typedef CodeCompletionResult Result;
1551 Results.AddResult(Result(Builder.TakeString()));
1560 Results.AddResult(Result(Builder.TakeString()));
1568 Results.AddResult(Result(Builder.TakeString()));
1575 Results.AddResult(Result(Builder.TakeString()));
1582 Results.AddResult(Result(Builder.TakeString()));
1600 Results.AddResult(Result(Builder.TakeString()));
1611 Results.AddResult(Result(Builder.TakeString()));
1621 Results.AddResult(Result(Builder.TakeString()));
1627 Results.AddResult(Result(Builder.TakeString()));
1633 Results.AddResult(Result(Builder.TakeString()));
1646 Results.AddResult(Result(Builder.TakeString()));
1688 Results.AddResult(Result(Builder.TakeString()));
1706 Results.AddResult(Result(Builder.TakeString()));
1719 Results.AddResult(Result(Builder.TakeString()));
1729 Results.AddResult(Result(Builder.TakeString()));
1734 Results.AddResult(Result(Builder.TakeString()));
1750 Results.AddResult(Result(Builder.TakeString()));
1762 Results.AddResult(Result(Builder.TakeString()));
1781 Results.AddResult(Result(Builder.TakeString()));
1787 Results.AddResult(Result(Builder.TakeString()));
1793 Results.AddResult(Result(Builder.TakeString()));
1812 Results.AddResult(Result(Builder.TakeString()));
1818 Results.AddResult(Result(Builder.TakeString()));
1826 Results.AddResult(Result(Builder.TakeString()));
1844 Results.AddResult(Result(Builder.TakeString()));
1852 Results.AddResult(Result(Builder.TakeString()));
1860 Results.AddResult(Result(Builder.TakeString()));
1872 Results.AddResult(Result(Builder.TakeString()));
1877 Results.AddResult(Result(Builder.TakeString()));
1888 Results.AddResult(Result(Builder.TakeString()));
1899 Results.AddResult(Result(Builder.TakeString()));
1909 Results.AddResult(Result(Builder.TakeString()));
1919 Results.AddResult(Result(Builder.TakeString()));
1928 Results.AddResult(Result(Builder.TakeString()));
1938 Results.AddResult(Result(Builder.TakeString()));
1950 Results.AddResult(Result(Builder.TakeString()));
1957 Results.AddResult(Result(Builder.TakeString()));
1967 Results.AddResult(Result(Builder.TakeString()));
1975 Results.AddResult(Result(Builder.TakeString()));
1984 Results.AddResult(Result(Builder.TakeString()));
1992 Results.AddResult(Result(Builder.TakeString()));
2000 Results.AddResult(Result(Builder.TakeString()));
2008 Results.AddResult(Result(Builder.TakeString()));
2025 Results.AddResult(Result(Builder.TakeString()));
2042 Results.AddResult(Result(Builder.TakeString()));
2051 Results.AddResult(Result(Builder.TakeString()));
2064 Results.AddResult(Result("operator"));
2067 /// \brief If the given declaration has an associated type, add it as a result
2073 CodeCompletionBuilder &Result) {
2112 Result.AddResultTypeChunk(GetCompletionTypeString(T, Context, Policy,
2113 Result.getAllocator()));
2118 CodeCompletionBuilder &Result) {
2122 Result.AddTextChunk(", nil");
2124 Result.AddTextChunk(", NULL");
2126 Result.AddTextChunk(", (void*)0");
2132 std::string Result;
2134 Result += "in ";
2136 Result += "inout ";
2138 Result += "out ";
2140 Result += "bycopy ";
2142 Result += "byref ";
2144 Result += "oneway ";
2149 Result += "nonnull ";
2153 Result += "nullable ";
2157 Result += "null_unspecified ";
2162 return Result;
2175 std::string Result;
2178 Result = Param->getIdentifier()->getName();
2185 Result = "(" + formatObjCParamQualifiers(Param->getObjCDeclQualifier(),
2187 Result += Type.getAsString(Policy) + ")";
2189 Result += Param->getIdentifier()->getName();
2191 Type.getAsStringInternal(Result, Policy);
2193 return Result;
2240 std::string Result;
2242 Result = Param->getIdentifier()->getName();
2247 Result = "(" + formatObjCParamQualifiers(Param->getObjCDeclQualifier(),
2249 Result += Type.getAsString(Policy) + Result + ")";
2251 Result += Param->getIdentifier()->getName();
2253 Type.getAsStringInternal(Result, Policy);
2256 return Result;
2261 std::string Result;
2266 ObjCSubstitutionContext::Result);
2268 ResultType.getAsStringInternal(Result, Policy);
2295 Result = Result + " (^";
2297 Result += Param->getIdentifier()->getName();
2298 Result += ")";
2299 Result += Params;
2302 Result = '^' + Result;
2303 Result += Params;
2306 Result += Param->getIdentifier()->getName();
2309 return Result;
2316 CodeCompletionBuilder &Result,
2327 CodeCompletionBuilder Opt(Result.getAllocator(),
2328 Result.getCodeCompletionTUInfo());
2332 Result.AddOptionalChunk(Opt.TakeString());
2339 Result.AddChunk(CodeCompletionString::CK_Comma);
2350 Result.AddPlaceholderChunk(
2351 Result.getAllocator().CopyString(PlaceholderStr));
2358 Result.AddPlaceholderChunk("...");
2360 MaybeAddSentinel(PP, Function, Result);
2368 CodeCompletionBuilder &Result,
2422 CodeCompletionBuilder Opt(Result.getAllocator(),
2423 Result.getCodeCompletionTUInfo());
2428 Result.AddOptionalChunk(Opt.TakeString());
2437 Result.AddChunk(CodeCompletionString::CK_Comma);
2440 Result.AddPlaceholderChunk(
2441 Result.getAllocator().CopyString(PlaceholderStr));
2448 AddQualifierToCompletionString(CodeCompletionBuilder &Result,
2462 Result.AddInformativeChunk(Result.getAllocator().CopyString(PrintedNNS));
2464 Result.AddTextChunk(Result.getAllocator().CopyString(PrintedNNS));
2468 AddFunctionTypeQualsToCompletionString(CodeCompletionBuilder &Result,
2479 Result.AddInformativeChunk(" const");
2484 Result.AddInformativeChunk(" volatile");
2489 Result.AddInformativeChunk(" restrict");
2501 Result.AddInformativeChunk(Result.getAllocator().CopyString(QualsStr));
2507 CodeCompletionBuilder &Result) {
2534 Result.AddTypedTextChunk(OperatorName);
2542 Result.AddTypedTextChunk(
2543 Result.getAllocator().CopyString(ND->getNameAsString()));
2561 Result.AddTypedTextChunk(
2562 Result.getAllocator().CopyString(ND->getNameAsString()));
2566 Result.AddTypedTextChunk(
2567 Result.getAllocator().CopyString(Record->getNameAsString()));
2569 Result.AddChunk(CodeCompletionString::CK_LeftAngle);
2570 AddTemplateParameterChunks(Context, Policy, Template, Result);
2571 Result.AddChunk(CodeCompletionString::CK_RightAngle);
2588 /// result.
2591 /// how to use this result, or NULL to indicate that the string or name of the
2592 /// result is all that is needed.
2600 CodeCompletionBuilder Result(Allocator, CCTUInfo, Priority, Availability);
2608 Result.addParentContext(Declaration->getDeclContext());
2609 Pattern->ParentName = Result.getParentName();
2622 Result.addBriefComment(RC->getBriefText(Ctx));
2623 Pattern->BriefComment = Result.getBriefComment();
2627 Result.addBriefComment(RC->getBriefText(Ctx));
2628 Pattern->BriefComment = Result.getBriefComment();
2637 Result.AddTypedTextChunk(Keyword);
2638 return Result.TakeString();
2643 Result.AddTypedTextChunk(
2644 Result.getAllocator().CopyString(Macro->getName()));
2647 return Result.TakeString();
2650 Result.AddChunk(CodeCompletionString::CK_LeftParen);
2658 Result.AddPlaceholderChunk("...");
2664 Result.AddChunk(CodeCompletionString::CK_Comma);
2672 Result.AddPlaceholderChunk(Result.getAllocator().CopyString(Arg));
2677 Result.AddPlaceholderChunk(
2678 Result.getAllocator().CopyString((*A)->getName()));
2680 Result.AddChunk(CodeCompletionString::CK_RightParen);
2681 return Result.TakeString();
2684 assert(Kind == RK_Declaration && "Missed a result kind?");
2686 Result.addParentContext(ND->getDeclContext());
2691 Result.addBriefComment(RC->getBriefText(Ctx));
2697 Result.addBriefComment(RC->getBriefText(Ctx));
2701 Result.AddTypedTextChunk(
2702 Result.getAllocator().CopyString(ND->getNameAsString()));
2703 Result.AddTextChunk("::");
2704 return Result.TakeString();
2708 Result.AddAnnotation(Result.getAllocator().CopyString(I->getAnnotation()));
2710 AddResultTypeChunk(Ctx, Policy, ND, CCContext.getBaseType(), Result);
2713 AddQualifierToCompletionString(Result, Qualifier, QualifierIsInformative,
2715 AddTypedNameChunk(Ctx, Policy, ND, Result);
2716 Result.AddChunk(CodeCompletionString::CK_LeftParen);
2717 AddFunctionParameterChunks(PP, Policy, Function, Result);
2718 Result.AddChunk(CodeCompletionString::CK_RightParen);
2719 AddFunctionTypeQualsToCompletionString(Result, Function);
2720 return Result.TakeString();
2724 AddQualifierToCompletionString(Result, Qualifier, QualifierIsInformative,
2727 AddTypedNameChunk(Ctx, Policy, Function, Result);
2763 Result.AddChunk(CodeCompletionString::CK_LeftAngle);
2764 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result,
2766 Result.AddChunk(CodeCompletionString::CK_RightAngle);
2770 Result.AddChunk(CodeCompletionString::CK_LeftParen);
2771 AddFunctionParameterChunks(PP, Policy, Function, Result);
2772 Result.AddChunk(CodeCompletionString::CK_RightParen);
2773 AddFunctionTypeQualsToCompletionString(Result, Function);
2774 return Result.TakeString();
2778 AddQualifierToCompletionString(Result, Qualifier, QualifierIsInformative,
2780 Result.AddTypedTextChunk(
2781 Result.getAllocator().CopyString(Template->getNameAsString()));
2782 Result.AddChunk(CodeCompletionString::CK_LeftAngle);
2783 AddTemplateParameterChunks(Ctx, Policy, Template, Result);
2784 Result.AddChunk(CodeCompletionString::CK_RightAngle);
2785 return Result.TakeString();
2791 Result.AddTypedTextChunk(Result.getAllocator().CopyString(
2793 return Result.TakeString();
2799 Result.AddTypedTextChunk(Result.getAllocator().CopyString(SelName));
2801 Result.AddInformativeChunk(Result.getAllocator().CopyString(SelName));
2806 Result.AddTypedTextChunk("");
2815 Result.AddChunk(CodeCompletionString::CK_HorizontalSpace);
2820 Result.AddInformativeChunk(Result.getAllocator().CopyString(Keyword));
2822 Result.AddTypedTextChunk(Result.getAllocator().CopyString(Keyword));
2855 Result.AddTextChunk(Result.getAllocator().CopyString(Arg));
2857 Result.AddInformativeChunk(Result.getAllocator().CopyString(Arg));
2859 Result.AddPlaceholderChunk(Result.getAllocator().CopyString(Arg));
2865 Result.AddTextChunk(", ...");
2867 Result.AddInformativeChunk(", ...");
2869 Result.AddPlaceholderChunk(", ...");
2872 MaybeAddSentinel(PP, Method, Result);
2875 return Result.TakeString();
2879 AddQualifierToCompletionString(Result, Qualifier, QualifierIsInformative,
2882 Result.AddTypedTextChunk(
2883 Result.getAllocator().CopyString(ND->getNameAsString()));
2884 return Result.TakeString();
2893 CodeCompletionBuilder &Result,
2905 CodeCompletionBuilder Opt(Result.getAllocator(),
2906 Result.getCodeCompletionTUInfo());
2912 Result.AddOptionalChunk(Opt.TakeString());
2919 Result.AddChunk(CodeCompletionString::CK_Comma);
2931 Result.AddCurrentParameterChunk(
2932 Result.getAllocator().CopyString(Placeholder));
2934 Result.AddPlaceholderChunk(Result.getAllocator().CopyString(Placeholder));
2938 CodeCompletionBuilder Opt(Result.getAllocator(),
2939 Result.getCodeCompletionTUInfo());
2948 Result.AddOptionalChunk(Opt.TakeString());
2961 CodeCompletionBuilder Result(Allocator,CCTUInfo, 1, CXAvailability_Available);
2969 Result.AddResultTypeChunk(Result.getAllocator().CopyString(
2971 Result.AddChunk(CodeCompletionString::CK_LeftParen);
2972 Result.AddChunk(CodeCompletionString::CK_CurrentParameter, "...");
2973 Result.AddChunk(CodeCompletionString::CK_RightParen);
2974 return Result.TakeString();
2981 Result.addBriefComment(RC->getBriefText(S.getASTContext()));
2982 AddResultTypeChunk(S.Context, Policy, FDecl, QualType(), Result);
2983 Result.AddTextChunk(
2984 Result.getAllocator().CopyString(FDecl->getNameAsString()));
2986 Result.AddResultTypeChunk(
2987 Result.getAllocator().CopyString(
2991 Result.AddChunk(CodeCompletionString::CK_LeftParen);
2992 AddOverloadParameterChunks(S.getASTContext(), Policy, FDecl, Proto, Result,
2994 Result.AddChunk(CodeCompletionString::CK_RightParen);
2996 return Result.TakeString();
3104 typedef CodeCompletionResult Result;
3117 Results.AddResult(Result(M->first,
3130 typedef CodeCompletionResult Result;
3134 Results.AddResult(Result("__PRETTY_FUNCTION__", CCP_Constant));
3135 Results.AddResult(Result("__FUNCTION__", CCP_Constant));
3137 Results.AddResult(Result("__func__", CCP_Constant));
3281 typedef CodeCompletionResult Result;
3289 typedef CodeCompletionResult Result;
3297 Results.AddResult(Result(Builder.TakeString(),
3317 Results.AddResult(Result(Builder.TakeString(),
3427 typedef CodeCompletionResult Result;
3436 Results.AddResult(Result("const"));
3437 Results.AddResult(Result("volatile"));
3439 Results.AddResult(Result("restrict"));
3443 Results.AddResult(Result("operator"));
3583 typedef CodeCompletionResult Result;
3591 Results.MaybeAddResult(Result(P, Results.getBasePriority(P), nullptr),
3609 Results.MaybeAddResult(Result(Builder.TakeString(), M,
3660 typedef CodeCompletionResult Result;
3720 Results.AddResult(Result("template"));
4402 typedef CodeCompletionResult Result;
4412 Results.AddResult(Result(Spelling));
4605 typedef CodeCompletionResult Result;
4607 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"end")));
4616 Results.AddResult(Result(Builder.TakeString()));
4622 Results.AddResult(Result(Builder.TakeString()));
4629 typedef CodeCompletionResult Result;
4632 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"end")));
4636 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"property")));
4639 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"required")));
4642 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"optional")));
4647 typedef CodeCompletionResult Result;
4655 Results.AddResult(Result(Builder.TakeString()));
4664 Results.AddResult(Result(Builder.TakeString()));
4670 Results.AddResult(Result(Builder.TakeString()));
4676 Results.AddResult(Result(Builder.TakeString()));
4685 Results.AddResult(Result(Builder.TakeString()));
4692 Results.AddResult(Result(Builder.TakeString()));
4714 typedef CodeCompletionResult Result;
4728 Results.AddResult(Result(Builder.TakeString()));
4736 Results.AddResult(Result(Builder.TakeString()));
4744 Results.AddResult(Result(Builder.TakeString()));
4751 Results.AddResult(Result(Builder.TakeString()));
4758 Results.AddResult(Result(Builder.TakeString()));
4768 Results.AddResult(Result(Builder.TakeString()));
4775 Results.AddResult(Result(Builder.TakeString()));
4779 typedef CodeCompletionResult Result;
4801 Results.AddResult(Result(Builder.TakeString()));
4808 Results.AddResult(Result(Builder.TakeString()));
4820 Results.AddResult(Result(Builder.TakeString()));
4827 typedef CodeCompletionResult Result;
4828 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"private")));
4829 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"protected")));
4830 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"public")));
4832 Results.AddResult(Result(OBJC_AT_KEYWORD_NAME(NeedAt,"package")));
5010 /// completions with the same selector into the result set.
5043 typedef CodeCompletionResult Result;
5060 Result R = Result(M, Results.getBasePriority(M), nullptr);
5263 /// or NULL if no better result could be determined.
5453 typedef CodeCompletionResult Result;
5471 Results.AddResult(Result("super"));
5555 typedef CodeCompletionResult Result;
5560 Result *ResultsData = Results.data();
5562 Result &R = ResultsData[I];
5563 if (R.Kind == Result::RK_Declaration &&
5591 typedef CodeCompletionResult Result;
5651 Result R(MethList->getMethod(),
5702 typedef CodeCompletionResult Result;
5827 Result R(MethList->getMethod(),
5938 typedef CodeCompletionResult Result;
5944 Results.AddResult(Result(Proto, Results.getBasePriority(Proto),nullptr),
5958 // Tell the result set to ignore all of the protocols we have
6004 typedef CodeCompletionResult Result;
6011 Results.AddResult(Result(Class, Results.getBasePriority(Class),nullptr),
6083 typedef CodeCompletionResult Result;
6105 Results.AddResult(Result(Category, Results.getBasePriority(Category),
6118 typedef CodeCompletionResult Result;
6143 Results.AddResult(Result(Cat, Results.getBasePriority(Cat), nullptr),
6199 typedef CodeCompletionResult Result;
6245 Results.AddResult(Result(Ivar, Results.getBasePriority(Ivar), nullptr),
6255 // Reduce the priority of this result by one, to give it a slight
6267 // Create ivar result _propName, that the user can use to synthesize
6270 typedef CodeCompletionResult Result;
6279 Results.AddResult(Result(Builder.TakeString(), Priority,
6427 typedef CodeCompletionResult Result;
6472 Results.AddResult(Result(Builder.TakeString(), CCP_CodePattern,
6496 Results.AddResult(Result(Builder.TakeString(), CCP_CodePattern,
6519 Results.AddResult(Result(Builder.TakeString(), CCP_CodePattern,
6568 Results.AddResult(Result(Builder.TakeString(),
6594 Results.AddResult(Result(Builder.TakeString(), IndexedGetterPriority,
6621 Results.AddResult(Result(Builder.TakeString(), IndexedGetterPriority,
6653 Results.AddResult(Result(Builder.TakeString(), IndexedGetterPriority,
6687 Results.AddResult(Result(Builder.TakeString(), IndexedSetterPriority,
6718 Results.AddResult(Result(Builder.TakeString(), IndexedSetterPriority,
6740 Results.AddResult(Result(Builder.TakeString(), IndexedSetterPriority,
6762 Results.AddResult(Result(Builder.TakeString(), IndexedSetterPriority,
6794 Results.AddResult(Result(Builder.TakeString(), IndexedSetterPriority,
6827 Results.AddResult(Result(Builder.TakeString(), IndexedSetterPriority,
6851 Results.AddResult(Result(Builder.TakeString(), UnorderedGetterPriority,
6881 Results.AddResult(Result(Builder.TakeString(), UnorderedGetterPriority,
6905 Results.AddResult(Result(Builder.TakeString(), UnorderedSetterPriority,
6926 Results.AddResult(Result(Builder.TakeString(), UnorderedSetterPriority,
6949 Results.AddResult(Result(Builder.TakeString(), UnorderedSetterPriority,
6970 Results.AddResult(Result(Builder.TakeString(), UnorderedSetterPriority,
6991 Results.AddResult(Result(Builder.TakeString(), UnorderedSetterPriority,
7016 Results.AddResult(Result(Builder.TakeString(), CCP_CodePattern,
7038 Results.AddResult(Result(Builder.TakeString(), CCP_CodePattern,
7088 typedef CodeCompletionResult Result;
7101 // If the result type was not already provided, add it to the
7162 // If the result type is not void, add a return clause.
7178 Results.AddResult(Result(Builder.TakeString(), Method, Priority));
7235 typedef CodeCompletionResult Result;
7273 Result R(MethList->getMethod(),