Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DASTDiagnostic.cpp234 std::string S = Ty.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
235 std::string CanS = CanTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
247 std::string CompareS = CompareTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
251 CompareDesugar.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
256 CompareCanTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
289 std::string akaStr = DesugaredTy.getAsString(Context.getPrintingPolicy()); in ConvertTypeToDiagnosticString()
305 << VTy->getElementType().getAsString(Context.getPrintingPolicy()) in ConvertTypeToDiagnosticString()
395 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), Qualified); in FormatASTNodeDiagnosticArgument()
400 NNS->print(OS, Context.getPrintingPolicy()); in FormatASTNodeDiagnosticArgument()
434 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), true); in FormatASTNodeDiagnosticArgument()
DAPValue.cpp410 Ctx.getPrintingPolicy()); in printPretty()
434 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in printPretty()
DDeclPrinter.cpp106 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); in print()
188 DeclPrinter Printer(llvm::errs(), Ctx.getPrintingPolicy(), 0); in dumpDeclContext()
DASTDumper.cpp1389 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUsingDecl()
1397 D->getQualifier()->print(OS, D->getASTContext().getPrintingPolicy()); in VisitUnresolvedUsingTypenameDecl()
1404 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()
766 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.h279 Node.print(Print, Result.Context->getPrintingPolicy()); in verify()
DDeclPrinterTest.cpp35 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintDecl()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp900 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 …]
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()
1493 elementTypeAsString = ElementType.getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt()
1509 elementTypeAsString = VD->getType().getAsString(Context->getPrintingPolicy()); in RewriteObjCForCollectionStmt()
2199 std::string TypeAsString(QT.getAsString(Context->getPrintingPolicy())); in RewriteTypeOfDecl()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp84 Ty.print(os, Ctx.getPrintingPolicy()); in genName()
/external/clang/lib/Parse/
DParseDecl.cpp2376 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
2573 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in DiagnoseMissingSemiAfterTagDefinition()
2635 const PrintingPolicy &Policy = Actions.getPrintingPolicy(); in ParseDeclarationSpecifiers()
3447 Actions.getASTContext().getPrintingPolicy())) in ParseDeclarationSpecifiers()
4012 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4036 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4060 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4822 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy()); in ParseTypeQualifierListOpt()
6188 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier()
6211 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier()
[all …]
DParseDeclCXX.cpp855 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseDecltypeSpecifier()
913 Actions.getASTContext().getPrintingPolicy())) in ParseUnderlyingTypeSpecifier()
1062 Actions.getASTContext().getPrintingPolicy()); in ParseBaseTypeSpecifier()
1469 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
1527 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
1802 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in ParseClassSpecifier()
DParser.cpp228 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
907 Actions.getASTContext().getPrintingPolicy())) in ParseDeclOrFunctionDefInternal()
974 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseFunctionDefinition()
DParseExpr.cpp923 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
1121 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
DParseExprCXX.cpp1805 Actions.getASTContext().getPrintingPolicy(); in ParseCXXSimpleTypeSpecifier()
1910 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy()); in ParseCXXTypeSpecifierSeq()
/external/clang/lib/Sema/
DSema.cpp52 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy() function in Sema
54 PrintingPolicy Policy = Context.getPrintingPolicy(); in getPrintingPolicy()
1049 Context.setPrintingPolicy(getPrintingPolicy()); in EmitCurrentDiagnostic()
DSemaExceptionSpec.cpp320 OS << E.getAsString(getPrintingPolicy()); in CheckEquivalentExceptionSpec()
333 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
DSemaTemplateInstantiate.cpp452 getPrintingPolicy()); in PrintInstantiationStack()
506 getPrintingPolicy()); in PrintInstantiationStack()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp239 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in dump()
246 D->print(Out, Ctx.getPrintingPolicy()); in dump()
/external/lldb/source/Symbol/
DClangASTType.cpp1081 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()

12