Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DASTDiagnostic.cpp235 std::string S = Ty.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
236 std::string CanS = CanTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
248 std::string CompareS = CompareTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
252 CompareDesugar.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
257 CompareCanTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
290 std::string akaStr = DesugaredTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
306 << VTy->getElementType().getAsString(Context.getPrintingPolicy()) in ConvertTypeToDiagnosticString()
396 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), Qualified); in FormatASTNodeDiagnosticArgument()
401 NNS->print(OS, Context.getPrintingPolicy()); in FormatASTNodeDiagnosticArgument()
435 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), true); in FormatASTNodeDiagnosticArgument()
[all …]
DAPValue.cpp410 Ctx.getPrintingPolicy()); in printPretty()
434 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in printPretty()
DDeclPrinter.cpp108 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); in print()
190 DeclPrinter Printer(llvm::errs(), Ctx.getPrintingPolicy(), 0); in dumpDeclContext()
DASTDumper.cpp1474 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUsingDecl()
1482 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUnresolvedUsingTypenameDecl()
1489 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUnresolvedUsingValueDecl()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp238 newCast += E->getType().getAsString(Pass.Ctx.getPrintingPolicy()); in rewriteToBridgedCast()
367 err += E->getType().getAsString(Pass.Ctx.getPrintingPolicy()); in transformObjCToNonObjCCast()
382 note += E->getSubExpr()->getType().getAsString(Pass.Ctx.getPrintingPolicy()); in transformObjCToNonObjCCast()
DObjCMT.cpp516 PrintingPolicy SubPolicy(Context.getPrintingPolicy()); in rewriteToObjCProperty()
767 PrintingPolicy Policy(Ctx.getPrintingPolicy()); in rewriteToNSMacroDecl()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestDeclVisitor.cpp70 Decl->getASTContext().getPrintingPolicy(), in VisitNamedDecl()
DRecursiveASTVisitorTestExprVisitor.cpp39 Arg.print(Context->getPrintingPolicy(), Stream); in TraverseTemplateArgumentLoc()
/external/clang/unittests/AST/
DNamedDeclPrinterTest.cpp49 PrintingPolicy Policy = Result.Context->getPrintingPolicy(); in run()
DStmtPrinterTest.cpp36 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintStmt()
DMatchVerifier.h298 Node.print(Print, Result.Context->getPrintingPolicy()); in verify()
DDeclPrinterTest.cpp35 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintDecl()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp889 std::string TypeString(castT.getAsString(Context->getPrintingPolicy())); in getIvarAccessString()
975 FT->getParamType(i).getAsString(Context->getPrintingPolicy()); in RewritePropertyImplDecl()
1220 FPRetType->getReturnType().getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString()
1224 ResultStr += T.getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString()
1282 Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1285 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1299 QT.getAsStringInternal(Name, Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1316 FT->getParamType(i).getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1703 elementTypeAsString = ElementType.getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt()
1719 elementTypeAsString = VD->getType().getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt()
[all …]
DRewriteObjC.cpp822 FT->getParamType(i).getAsString(Context->getPrintingPolicy()); in RewritePropertyImplDecl()
1052 FPRetType->getReturnType().getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString()
1056 ResultStr += T.getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString()
1114 Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1117 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1131 QT.getAsStringInternal(Name, Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1148 FT->getParamType(i).getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1494 elementTypeAsString = ElementType.getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt()
1510 elementTypeAsString = VD->getType().getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt()
2195 std::string TypeAsString(QT.getAsString(Context->getPrintingPolicy())); in RewriteTypeOfDecl()
[all …]
/external/bcc/src/cc/
Djson_map_decl_visitor.cc182 result_ += T->getName(C.getPrintingPolicy()); in VisitBuiltinType()
/external/clang/lib/Sema/
DSema.cpp52 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy() function in Sema
54 PrintingPolicy Policy = Context.getPrintingPolicy(); in getPrintingPolicy()
1042 Context.setPrintingPolicy(getPrintingPolicy()); in EmitCurrentDiagnostic()
1279 ND->getNameForDiagnostic(OS, ND->getASTContext().getPrintingPolicy(), true); in print()
DSemaExceptionSpec.cpp326 OS << E.getAsString(getPrintingPolicy()); in CheckEquivalentExceptionSpec()
339 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
/external/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp84 Ty.print(os, Ctx.getPrintingPolicy()); in genName()
/external/clang/lib/Parse/
DParseDecl.cpp2301 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
2431 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
2628 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in DiagnoseMissingSemiAfterTagDefinition()
2690 PrintingPolicy Policy = Actions.getPrintingPolicy(); in ParseDeclarationSpecifiers()
3530 Actions.getASTContext().getPrintingPolicy())) in ParseDeclarationSpecifiers()
4101 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4125 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4149 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4905 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy()); in ParseTypeQualifierListOpt()
6297 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier()
[all …]
DParseDeclCXX.cpp855 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseDecltypeSpecifier()
913 Actions.getASTContext().getPrintingPolicy())) in ParseUnderlyingTypeSpecifier()
1061 Actions.getASTContext().getPrintingPolicy()); in ParseBaseTypeSpecifier()
1484 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
1542 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
1817 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
DParser.cpp228 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
920 Actions.getASTContext().getPrintingPolicy())) in ParseDeclOrFunctionDefInternal()
987 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseFunctionDefinition()
DParseExpr.cpp937 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
1144 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp469 PrintingPolicy Policy(Ctx.getPrintingPolicy()); in getFullyQualifiedName()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp249 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in dump()
256 D->print(Out, Ctx.getPrintingPolicy()); in dump()
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp473 PrintingPolicy Policy = Node.getASTContext().getPrintingPolicy(); in matchesNodeFullSlow()

12