/external/clang/lib/AST/ |
D | ASTDiagnostic.cpp | 235 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 …]
|
D | APValue.cpp | 410 Ctx.getPrintingPolicy()); in printPretty() 434 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in printPretty()
|
D | DeclPrinter.cpp | 108 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); in print() 190 DeclPrinter Printer(llvm::errs(), Ctx.getPrintingPolicy(), 0); in dumpDeclContext()
|
D | ASTDumper.cpp | 1474 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/ |
D | TransUnbridgedCasts.cpp | 238 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()
|
D | ObjCMT.cpp | 516 PrintingPolicy SubPolicy(Context.getPrintingPolicy()); in rewriteToObjCProperty() 767 PrintingPolicy Policy(Ctx.getPrintingPolicy()); in rewriteToNSMacroDecl()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestDeclVisitor.cpp | 70 Decl->getASTContext().getPrintingPolicy(), in VisitNamedDecl()
|
D | RecursiveASTVisitorTestExprVisitor.cpp | 39 Arg.print(Context->getPrintingPolicy(), Stream); in TraverseTemplateArgumentLoc()
|
/external/clang/unittests/AST/ |
D | NamedDeclPrinterTest.cpp | 49 PrintingPolicy Policy = Result.Context->getPrintingPolicy(); in run()
|
D | StmtPrinterTest.cpp | 36 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintStmt()
|
D | MatchVerifier.h | 298 Node.print(Print, Result.Context->getPrintingPolicy()); in verify()
|
D | DeclPrinterTest.cpp | 35 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintDecl()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 889 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 …]
|
D | RewriteObjC.cpp | 822 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/ |
D | json_map_decl_visitor.cc | 182 result_ += T->getName(C.getPrintingPolicy()); in VisitBuiltinType()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 52 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()
|
D | SemaExceptionSpec.cpp | 326 OS << E.getAsString(getPrintingPolicy()); in CheckEquivalentExceptionSpec() 339 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | StackAddrEscapeChecker.cpp | 84 Ty.print(os, Ctx.getPrintingPolicy()); in genName()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 2301 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 …]
|
D | ParseDeclCXX.cpp | 855 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()
|
D | Parser.cpp | 228 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi() 920 Actions.getASTContext().getPrintingPolicy())) in ParseDeclOrFunctionDefInternal() 987 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseFunctionDefinition()
|
D | ParseExpr.cpp | 937 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression() 1144 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 469 PrintingPolicy Policy(Ctx.getPrintingPolicy()); in getFullyQualifiedName()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 249 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in dump() 256 D->print(Out, Ctx.getPrintingPolicy()); in dump()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 473 PrintingPolicy Policy = Node.getASTContext().getPrintingPolicy(); in matchesNodeFullSlow()
|