Home
last modified time | relevance | path

Searched refs:getPrintingPolicy (Results 1 – 25 of 61) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DDiagOutputUtils.h21 D->getNameForDiagnostic(Os, D->getASTContext().getPrintingPolicy(), in printQuotedQualifiedName()
29 D->getNameForDiagnostic(Os, D->getASTContext().getPrintingPolicy(), in printQuotedName()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp235 newCast += E->getType().getAsString(Pass.Ctx.getPrintingPolicy()); in rewriteToBridgedCast()
364 err += E->getType().getAsString(Pass.Ctx.getPrintingPolicy()); in transformObjCToNonObjCCast()
379 note += E->getSubExpr()->getType().getAsString(Pass.Ctx.getPrintingPolicy()); in transformObjCToNonObjCCast()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTDiagnostic.cpp270 std::string S = Ty.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
271 std::string CanS = CanTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
283 std::string CompareS = CompareTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
288 CompareDesugar.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
293 CompareCanTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
326 std::string akaStr = DesugaredTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
341 << VTy->getElementType().getAsString(Context.getPrintingPolicy()) in ConvertTypeToDiagnosticString()
461 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), Qualified); in FormatASTNodeDiagnosticArgument()
466 NNS->print(OS, Context.getPrintingPolicy()); in FormatASTNodeDiagnosticArgument()
500 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), true); in FormatASTNodeDiagnosticArgument()
[all …]
H A DASTDumper.cpp227 JSONDumper P(OS, SM, Ctx, Ctx.getPrintingPolicy(), in dump()
H A DDeclPrinter.cpp132 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); in print()
144 print(Out, Context, Context.getPrintingPolicy(), OmitTemplateKW); in print()
231 DeclPrinter Printer(llvm::errs(), Ctx.getPrintingPolicy(), Ctx, 0); in dumpDeclContext()
H A DTextNodeDumper.cpp66 PrintPolicy(Context.getPrintingPolicy()), in TextNodeDumper()
2621 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUsingDecl()
2635 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUnresolvedUsingTypenameDecl()
2643 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUnresolvedUsingValueDecl()
H A DFormatString.cpp649 std::string S = getRepresentativeType(C).getAsString(C.getPrintingPolicy()); in getRepresentativeTypeName()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp123 E->printPretty(OS, nullptr, Ctx.getPrintingPolicy()); in print()
173 F->getNameForDiagnostic(OS, S.getCtx().getPrintingPolicy(), in describe()
H A DRecord.cpp34 Decl->getNameForDiagnostic(OS, Decl->getASTContext().getPrintingPolicy(), in getName()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp891 std::string TypeString(castT.getAsString(Context->getPrintingPolicy())); in getIvarAccessString()
977 FT->getParamType(i).getAsString(Context->getPrintingPolicy()); in RewritePropertyImplDecl()
1222 FPRetType->getReturnType().getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString()
1226 ResultStr += T.getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString()
1284 Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1287 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1301 QT.getAsStringInternal(Name, Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1318 FT->getParamType(i).getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1710 elementTypeAsString = ElementType.getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt()
1726 elementTypeAsString = VD->getType().getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DExtract.cpp143 PrintingPolicy PP = AST.getPrintingPolicy(); in createSourceReplacements()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterUtils.cpp106 PrintingPolicy Policy(Ctx.getPrintingPolicy()); in GetFullTypeName()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp441 PrintingPolicy Policy = CI.getASTContext().getPrintingPolicy(); in CreateASTConsumer()
545 PrintingPolicy Policy = CI.getASTContext().getPrintingPolicy(); in CreateASTConsumer()
H A DDeclarationFragments.cpp400 TemplName.print(Stream, Context.getPrintingPolicy(), in getFragmentsForType()
1028 NTP->getASTContext().getPrintingPolicy(), Output, in getFragmentsForTemplateParameters()
1099 CTA.print(Context.getPrintingPolicy(), OutStream, false); in getFragmentsForTemplateArguments()
1137 CTA.getAsTemplate().print(Stream, Context.getPrintingPolicy()); in getFragmentsForTemplateArguments()
1160 Context.getPrintingPolicy()); in getFragmentsForTemplateArguments()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp172 << SourceType.getAsString(C.getASTContext().getPrintingPolicy()) in checkTypedDeleteExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp55 const PrintingPolicy &PP = Context.getPrintingPolicy(); in printJson()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp873 S.Context.getPrintingPolicy()); in convertCallArgsToString()
970 Template->printName(OS, getPrintingPolicy()); in PrintInstantiationStack()
972 getPrintingPolicy()); in PrintInstantiationStack()
1036 FD->printName(OS, getPrintingPolicy()); in PrintInstantiationStack()
1038 getPrintingPolicy()); in PrintInstantiationStack()
1208 cast<NamedDecl>(Active->Entity)->printName(OS, getPrintingPolicy()); in PrintInstantiationStack()
1211 getPrintingPolicy()); in PrintInstantiationStack()
2656 Req->getType()->getType().print(OS, SemaRef.getPrintingPolicy()); in TransformTypeRequirement()
2685 E->printPretty(OS, nullptr, SemaRef.getPrintingPolicy()); in TransformExprRequirement()
2710 ->printPretty(OS, nullptr, SemaRef.getPrintingPolicy()); in TransformExprRequirement()
[all …]
H A DSemaExceptionSpec.cpp431 OS << E.getAsString(getPrintingPolicy()); in CheckEquivalentExceptionSpec()
446 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
H A DSema.cpp131 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy() function in Sema
133 PrintingPolicy Policy = Context.getPrintingPolicy(); in getPrintingPolicy()
1656 Context.setPrintingPolicy(getPrintingPolicy()); in EmitCurrentDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp301 C.getASTContext().getPrintingPolicy()); in checkPostCall()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp291 PVD->getNameForDiagnostic(os, PVD->getASTContext().getPrintingPolicy(), in generateDiagnosticsForCallLike()
406 PVD->getNameForDiagnostic(os, PVD->getASTContext().getPrintingPolicy(), in annotateConsumedSummaryMismatch()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp3059 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
3196 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
3530 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in DiagnoseMissingSemiAfterTagDefinition()
3600 PrintingPolicy Policy = Actions.getPrintingPolicy(); in ParseDeclarationSpecifiers()
4809 Actions.getASTContext().getPrintingPolicy())) in ParseDeclarationSpecifiers()
5132 TagType, Actions.getASTContext().getPrintingPolicy()); in ParseStructUnionBody()
5559 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
5583 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
5614 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
6552 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy()); in ParseTypeQualifierListOpt()
[all …]
H A DParseDeclCXX.cpp1216 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseDecltypeSpecifier()
1263 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParsePackIndexingType()
1379 Actions.getASTContext().getPrintingPolicy())) in MaybeParseTypeTransformTypeSpecifier()
1536 Actions.getASTContext().getPrintingPolicy()); in ParseBaseTypeSpecifier()
2006 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
2080 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
2366 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
3627 TagType, Actions.getASTContext().getPrintingPolicy()); in ParseCXXClassMemberDeclarationWithPragmas()
H A DParser.cpp215 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
1225 Actions.getASTContext().getPrintingPolicy())) in ParseDeclOrFunctionDefInternal()
1309 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseFunctionDefinition()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp334 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in dump()
340 D->print(Out, Ctx.getPrintingPolicy()); in dump()

123