Lines Matching refs:Policy

1451   PrintingPolicy Policy = Sema::getPrintingPolicy(Context, PP);  in getCompletionPrintingPolicy()  local
1452 Policy.AnonymousTagLocations = false; in getCompletionPrintingPolicy()
1453 Policy.SuppressStrongLifetime = true; in getCompletionPrintingPolicy()
1454 Policy.SuppressUnwrittenScope = true; in getCompletionPrintingPolicy()
1455 return Policy; in getCompletionPrintingPolicy()
1470 const PrintingPolicy &Policy, in GetCompletionTypeString() argument
1475 return BT->getNameAsCString(Policy); in GetCompletionTypeString()
1493 T.getAsStringInternal(Result, Policy); in GetCompletionTypeString()
1505 PrintingPolicy Policy = getCompletionPrintingPolicy(S); in addThisCompletion() local
1508 Policy, in addThisCompletion()
1521 PrintingPolicy Policy = getCompletionPrintingPolicy(SemaRef); in AddOrdinaryNameResults() local
2055 const PrintingPolicy &Policy, in AddResultTypeChunk() argument
2084 Result.AddResultTypeChunk(GetCompletionTypeString(T, Context, Policy, in AddResultTypeChunk()
2121 const PrintingPolicy &Policy, in FormatFunctionParameter() argument
2135 Param->getType().getAsStringInternal(Result, Policy); in FormatFunctionParameter()
2189 Param->getType().getUnqualifiedType().getAsStringInternal(Result, Policy); in FormatFunctionParameter()
2206 ResultType.getAsStringInternal(Result, Policy); in FormatFunctionParameter()
2220 Params += FormatFunctionParameter(Context, Policy, Block.getParam(I), in FormatFunctionParameter()
2251 const PrintingPolicy &Policy, in AddFunctionParameterChunks() argument
2268 AddFunctionParameterChunks(Context, Policy, Function, Opt, P, true); in AddFunctionParameterChunks()
2281 std::string PlaceholderStr = FormatFunctionParameter(Context, Policy, in AddFunctionParameterChunks()
2304 const PrintingPolicy &Policy, in AddTemplateParameterChunks() argument
2340 NTTP->getType().getAsStringInternal(PlaceholderStr, Policy); in AddTemplateParameterChunks()
2364 AddTemplateParameterChunks(Context, Policy, Template, Opt, MaxParameters, in AddTemplateParameterChunks()
2390 const PrintingPolicy &Policy) { in AddQualifierToCompletionString() argument
2397 Qualifier->print(OS, Policy); in AddQualifierToCompletionString()
2443 static void AddTypedNameChunk(ASTContext &Context, const PrintingPolicy &Policy, in AddTypedNameChunk() argument
2508 AddTemplateParameterChunks(Context, Policy, Template, Result); in AddTypedNameChunk()
2538 PrintingPolicy Policy = getCompletionPrintingPolicy(Ctx, PP); in CreateCodeCompletionString() local
2650 AddResultTypeChunk(Ctx, Policy, ND, Result); in CreateCodeCompletionString()
2654 Ctx, Policy); in CreateCodeCompletionString()
2655 AddTypedNameChunk(Ctx, Policy, ND, Result); in CreateCodeCompletionString()
2657 AddFunctionParameterChunks(Ctx, Policy, Function, Result); in CreateCodeCompletionString()
2665 Ctx, Policy); in CreateCodeCompletionString()
2667 AddTypedNameChunk(Ctx, Policy, Function, Result); in CreateCodeCompletionString()
2704 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result, in CreateCodeCompletionString()
2711 AddFunctionParameterChunks(Ctx, Policy, Function, Result); in CreateCodeCompletionString()
2719 Ctx, Policy); in CreateCodeCompletionString()
2723 AddTemplateParameterChunks(Ctx, Policy, Template, Result); in CreateCodeCompletionString()
2772 Arg = FormatFunctionParameter(Ctx, Policy, *P, true); in CreateCodeCompletionString()
2774 (*P)->getType().getAsStringInternal(Arg, Policy); in CreateCodeCompletionString()
2811 Ctx, Policy); in CreateCodeCompletionString()
2821 const PrintingPolicy &Policy, in AddOverloadParameterChunks() argument
2841 AddOverloadParameterChunks(Context, Policy, Function, Prototype, Opt, in AddOverloadParameterChunks()
2857 Placeholder = FormatFunctionParameter(Context, Policy, in AddOverloadParameterChunks()
2860 Placeholder = Prototype->getParamType(P).getAsString(Policy); in AddOverloadParameterChunks()
2890 PrintingPolicy Policy = getCompletionPrintingPolicy(S); in CreateSignatureString() local
2902 FT->getReturnType().getAsString(Policy))); in CreateSignatureString()
2914 AddResultTypeChunk(S.Context, Policy, FDecl, Result); in CreateSignatureString()
2920 Proto->getReturnType().getAsString(Policy))); in CreateSignatureString()
2924 AddOverloadParameterChunks(S.getASTContext(), Policy, FDecl, Proto, Result, in CreateSignatureString()
3159 PrintingPolicy Policy = getCompletionPrintingPolicy(S); in MaybeAddOverrideCalls() local
3177 NNS->print(OS, Policy); in MaybeAddOverrideCalls()
3523 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties() local
3530 AddResultTypeChunk(Context, Policy, M, Builder); in AddObjCProperties()
4351 PrintingPolicy Policy = getCompletionPrintingPolicy(*this); in CodeCompleteConstructorInitializer() local
4392 Base.getType().getAsString(Policy))); in CodeCompleteConstructorInitializer()
4416 Base.getType().getAsString(Policy))); in CodeCompleteConstructorInitializer()
6175 PrintingPolicy Policy = getCompletionPrintingPolicy(*this); in CodeCompleteObjCPropertySynthesizeIvar() local
6177 Policy, Allocator)); in CodeCompleteObjCPropertySynthesizeIvar()
6288 const PrintingPolicy &Policy, in AddObjCPassingTypeChunk() argument
6294 Builder.AddTextChunk(GetCompletionTypeString(Type, Context, Policy, in AddObjCPassingTypeChunk()
6324 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCKeyValueCompletions() local
6369 Context, Policy, Builder); in AddObjCKeyValueCompletions()
6417 Context, Policy, Builder); in AddObjCKeyValueCompletions()
6776 Policy, in AddObjCKeyValueCompletions()
6993 PrintingPolicy Policy = getCompletionPrintingPolicy(*this); in CodeCompleteObjCMethodDecl() local
7005 Method->getObjCDeclQualifier(), Context, Policy, in CodeCompleteObjCMethodDecl()
7032 Context, Policy, in CodeCompleteObjCMethodDecl()