/external/clang/lib/AST/ |
D | ASTDiagnostic.cpp | 170 std::string S = Ty.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString() 171 std::string CanS = CanTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString() 183 std::string CompareS = CompareTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString() 187 CompareDesugar.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString() 192 CompareCanTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString() 225 std::string akaStr = DesugaredTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString() 241 << VTy->getElementType().getAsString(Context.getPrintingPolicy()) in ConvertTypeToDiagnosticString() 331 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), Qualified); in FormatASTNodeDiagnosticArgument() 336 NNS->print(OS, Context.getPrintingPolicy()); in FormatASTNodeDiagnosticArgument() 370 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), true); in FormatASTNodeDiagnosticArgument()
|
D | APValue.cpp | 410 Ctx.getPrintingPolicy()); in printPretty() 434 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in printPretty()
|
D | DeclPrinter.cpp | 96 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); in print() 178 DeclPrinter Printer(llvm::errs(), Ctx.getPrintingPolicy(), 0); in dumpDeclContext()
|
D | ASTDumper.cpp | 1359 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUsingDecl() 1366 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUnresolvedUsingTypenameDecl() 1372 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 | 526 PrintingPolicy SubPolicy(Context.getPrintingPolicy()); in rewriteToObjCProperty() 778 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 | 279 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 | 900 std::string TypeString(castT.getAsString(Context->getPrintingPolicy())); in getIvarAccessString() 986 FT->getParamType(i).getAsString(Context->getPrintingPolicy()); in RewritePropertyImplDecl() 1247 FPRetType->getReturnType().getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString() 1251 ResultStr += T.getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString() 1309 Context->getPrintingPolicy()); in RewriteObjCMethodDecl() 1312 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl() 1326 QT.getAsStringInternal(Name, Context->getPrintingPolicy()); in RewriteObjCMethodDecl() 1343 FT->getParamType(i).getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl() 1729 elementTypeAsString = ElementType.getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt() 1745 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() 1493 elementTypeAsString = ElementType.getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt() 1509 elementTypeAsString = VD->getType().getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt() 2198 std::string TypeAsString(QT.getAsString(Context->getPrintingPolicy())); in RewriteTypeOfDecl() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | StackAddrEscapeChecker.cpp | 84 Ty.print(os, Ctx.getPrintingPolicy()); in genName()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 53 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy() function in Sema 55 PrintingPolicy Policy = Context.getPrintingPolicy(); in getPrintingPolicy() 999 Context.setPrintingPolicy(getPrintingPolicy()); in EmitCurrentDiagnostic()
|
D | SemaExceptionSpec.cpp | 295 OS << E.getAsString(getPrintingPolicy()); in CheckEquivalentExceptionSpec() 308 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
|
D | SemaLookup.cpp | 3696 SS->getScopeRep()->print(OldOStream, SemaRef.getPrintingPolicy()); in performQualifiedLookups() 3735 NNS->print(SpecifierOStream, Context.getPrintingPolicy()); in NamespaceSpecifierSet() 3823 NNS->print(SpecifierOStream, Context.getPrintingPolicy()); in addNameSpecifier()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 221 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in dump() 228 D->print(Out, Ctx.getPrintingPolicy()); in dump()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 2312 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt() 2510 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in DiagnoseMissingSemiAfterTagDefinition() 2573 const PrintingPolicy &Policy = Actions.getPrintingPolicy(); in ParseDeclarationSpecifiers() 3884 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier() 3908 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier() 4630 DS.Finish(Diags, PP, Actions.getASTContext().getPrintingPolicy()); in ParseTypeQualifierListOpt() 5988 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier() 6011 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier() 6046 Actions.getASTContext().getPrintingPolicy())) in ParseAtomicSpecifier() 6087 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in TryAltiVecTokenOutOfLine()
|
D | ParseDeclCXX.cpp | 847 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseDecltypeSpecifier() 905 Actions.getASTContext().getPrintingPolicy())) in ParseUnderlyingTypeSpecifier() 1054 Actions.getASTContext().getPrintingPolicy()); in ParseBaseTypeSpecifier() 1435 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier() 1493 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier() 1765 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
|
D | Parser.cpp | 208 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi() 873 Actions.getASTContext().getPrintingPolicy())) in ParseDeclOrFunctionDefInternal() 940 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseFunctionDefinition()
|
D | ParseExpr.cpp | 897 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression() 1080 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
|
D | ParseExprCXX.cpp | 1790 Actions.getASTContext().getPrintingPolicy(); in ParseCXXSimpleTypeSpecifier() 1902 DS.Finish(Diags, PP, Actions.getASTContext().getPrintingPolicy()); in ParseCXXTypeSpecifierSeq()
|
/external/lldb/source/Symbol/ |
D | ClangASTType.cpp | 1081 PrintingPolicy printing_policy (m_ast->getPrintingPolicy()); in GetTypeName() 6084 PrintingPolicy policy = m_ast->getPrintingPolicy(); in DumpTypeDescription() 6124 … cxx_record_decl->print(llvm_ostrm, m_ast->getPrintingPolicy(), s->GetIndentLevel()); in DumpTypeDescription() 6126 record_decl->print(llvm_ostrm, m_ast->getPrintingPolicy(), s->GetIndentLevel()); in DumpTypeDescription()
|