Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DASTDiagnostic.cpp170 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()
DAPValue.cpp410 Ctx.getPrintingPolicy()); in printPretty()
434 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in printPretty()
DDeclPrinter.cpp96 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); in print()
178 DeclPrinter Printer(llvm::errs(), Ctx.getPrintingPolicy(), 0); in dumpDeclContext()
DASTDumper.cpp1359 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/
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.cpp526 PrintingPolicy SubPolicy(Context.getPrintingPolicy()); in rewriteToObjCProperty()
778 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()
2198 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/Sema/
DSema.cpp53 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy() function in Sema
55 PrintingPolicy Policy = Context.getPrintingPolicy(); in getPrintingPolicy()
999 Context.setPrintingPolicy(getPrintingPolicy()); in EmitCurrentDiagnostic()
DSemaExceptionSpec.cpp295 OS << E.getAsString(getPrintingPolicy()); in CheckEquivalentExceptionSpec()
308 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
DSemaLookup.cpp3696 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/
DCallEvent.cpp221 E->printPretty(Out, nullptr, Ctx.getPrintingPolicy()); in dump()
228 D->print(Out, Ctx.getPrintingPolicy()); in dump()
/external/clang/lib/Parse/
DParseDecl.cpp2312 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()
DParseDeclCXX.cpp847 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()
DParser.cpp208 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
873 Actions.getASTContext().getPrintingPolicy())) in ParseDeclOrFunctionDefInternal()
940 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseFunctionDefinition()
DParseExpr.cpp897 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
1080 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
DParseExprCXX.cpp1790 Actions.getASTContext().getPrintingPolicy(); in ParseCXXSimpleTypeSpecifier()
1902 DS.Finish(Diags, PP, Actions.getASTContext().getPrintingPolicy()); in ParseCXXTypeSpecifierSeq()
/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