Home | History | Annotate | Download | only in Sema

Lines Matching refs:Policy

1467   PrintingPolicy Policy = Sema::getPrintingPolicy(Context, PP);
1468 Policy.AnonymousTagLocations = false;
1469 Policy.SuppressStrongLifetime = true;
1470 Policy.SuppressUnwrittenScope = true;
1471 return Policy;
1474 /// \brief Retrieve a printing policy suitable for code completion.
1486 const PrintingPolicy &Policy,
1491 return BT->getNameAsCString(Policy);
1509 T.getAsStringInternal(Result, Policy);
1521 PrintingPolicy Policy = getCompletionPrintingPolicy(S);
1524 Policy,
2070 const PrintingPolicy &Policy,
2112 Result.AddResultTypeChunk(GetCompletionTypeString(T, Context, Policy,
2165 static std::string FormatFunctionParameter(const PrintingPolicy &Policy,
2187 Result += Type.getAsString(Policy) + ")";
2191 Type.getAsStringInternal(Result, Policy);
2249 Result += Type.getAsString(Policy) + Result + ")";
2253 Type.getAsStringInternal(Result, Policy);
2268 ResultType.getAsStringInternal(Result, Policy);
2282 Params += FormatFunctionParameter(Policy, Block.getParam(I),
2314 const PrintingPolicy &Policy,
2331 AddFunctionParameterChunks(PP, Policy, Function, Opt, P, true);
2344 std::string PlaceholderStr = FormatFunctionParameter(Policy, Param);
2366 const PrintingPolicy &Policy,
2402 NTTP->getType().getAsStringInternal(PlaceholderStr, Policy);
2426 AddTemplateParameterChunks(Context, Policy, Template, Opt, MaxParameters,
2452 const PrintingPolicy &Policy) {
2459 Qualifier->print(OS, Policy);
2505 static void AddTypedNameChunk(ASTContext &Context, const PrintingPolicy &Policy,
2570 AddTemplateParameterChunks(Context, Policy, Template, Result);
2602 PrintingPolicy Policy = getCompletionPrintingPolicy(Ctx, PP);
2710 AddResultTypeChunk(Ctx, Policy, ND, CCContext.getBaseType(), Result);
2714 Ctx, Policy);
2715 AddTypedNameChunk(Ctx, Policy, ND, Result);
2717 AddFunctionParameterChunks(PP, Policy, Function, Result);
2725 Ctx, Policy);
2727 AddTypedNameChunk(Ctx, Policy, Function, Result);
2764 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result,
2771 AddFunctionParameterChunks(PP, Policy, Function, Result);
2779 Ctx, Policy);
2783 AddTemplateParameterChunks(Ctx, Policy, Template, Result);
2836 Arg = FormatFunctionParameter(Policy, *P, true,
2845 Arg += ParamType.getAsString(Policy) + ")";
2880 Ctx, Policy);
2890 const PrintingPolicy &Policy,
2910 AddOverloadParameterChunks(Context, Policy, Function, Prototype, Opt,
2926 Placeholder = FormatFunctionParameter(Policy, Function->getParamDecl(P));
2928 Placeholder = Prototype->getParamType(P).getAsString(Policy);
2958 PrintingPolicy Policy = getCompletionPrintingPolicy(S);
2970 FT->getReturnType().getAsString(Policy)));
2982 AddResultTypeChunk(S.Context, Policy, FDecl, QualType(), Result);
2988 Proto->getReturnType().getAsString(Policy)));
2992 AddOverloadParameterChunks(S.getASTContext(), Policy, FDecl, Proto, Result,
3232 PrintingPolicy Policy = getCompletionPrintingPolicy(S);
3250 NNS->print(OS, Policy);
3597 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema());
3604 AddResultTypeChunk(Context, Policy, M, CCContext.getBaseType(),
4462 PrintingPolicy Policy = getCompletionPrintingPolicy(*this);
4478 Base.getType().getAsString(Policy)));
4502 Base.getType().getAsString(Policy)));
6275 PrintingPolicy Policy = getCompletionPrintingPolicy(*this);
6277 Policy, Allocator));
6388 const PrintingPolicy &Policy,
6394 Builder.AddTextChunk(GetCompletionTypeString(Type, Context, Policy,
6424 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema());
6469 Context, Policy, Builder);
6517 Context, Policy, Builder);
6876 Policy,
7093 PrintingPolicy Policy
7107 Method->getObjCDeclQualifier(), Context, Policy,
7143 Context, Policy,