Home
last modified time | relevance | path

Searched refs:PrintingPolicy (Results 1 – 25 of 40) sorted by relevance

12

/external/clang/lib/AST/
DTypePrinter.cpp33 PrintingPolicy &Policy;
37 explicit IncludeStrongLifetimeRAII(PrintingPolicy &Policy) in IncludeStrongLifetimeRAII()
48 PrintingPolicy &Policy;
52 explicit ParamPolicyRAII(PrintingPolicy &Policy) in ParamPolicyRAII()
63 PrintingPolicy &Policy;
68 explicit ElaboratedTypePolicyRAII(PrintingPolicy &Policy) : Policy(Policy) { in ElaboratedTypePolicyRAII()
82 PrintingPolicy Policy;
86 explicit TypePrinter(const PrintingPolicy &Policy) in TypePrinter()
407 PrintingPolicy InnerPolicy(Policy); in printMemberPointerBefore()
559 PrintingPolicy Policy) const { in printExceptionSpecification()
[all …]
DTemplateName.cpp128 TemplateName::print(raw_ostream &OS, const PrintingPolicy &Policy, in print()
166 N.print(OS, PrintingPolicy(LO)); in operator <<()
175 print(llvm::errs(), PrintingPolicy(LO)); in dump()
DTemplateBase.cpp334 void TemplateArgument::print(const PrintingPolicy &Policy, in print()
342 PrintingPolicy SubPolicy(Policy); in print()
536 PrintingPolicy Policy(LangOpts); in operator <<()
547 PrintingPolicy Policy(LangOpts); in operator <<()
DDeclPrinter.cpp29 PrintingPolicy Policy;
40 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, in DeclPrinter()
94 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, in print()
131 raw_ostream &Out, const PrintingPolicy &Policy, in printGroup()
143 PrintingPolicy SubPolicy(Policy); in printGroup()
180 PrintingPolicy Policy = getASTContext().getPrintingPolicy(); in dump()
408 PrintingPolicy SubPolicy(Policy); in VisitFunctionDecl()
DNestedNameSpecifier.cpp223 const PrintingPolicy &Policy) const { in print()
254 PrintingPolicy InnerPolicy(Policy); in print()
290 print(llvm::errs(), PrintingPolicy(LO)); in dump()
DStmtPrinter.cpp35 PrintingPolicy Policy;
39 const PrintingPolicy &Policy, in StmtPrinter()
314 PrintingPolicy SubPolicy(Policy); in VisitCXXForRangeStmt()
1806 printPretty(llvm::errs(), 0, PrintingPolicy(Context.getLangOpts())); in dumpPretty()
1811 const PrintingPolicy &Policy, in printPretty()
DStmtDumper.cpp259 PrintingPolicy(VD->getASTContext().getLangOpts())); in DumpDeclarator()
292 PrintingPolicy(UD->getASTContext().getLangOpts())); in DumpDeclarator()
/external/clang/include/clang/AST/
DPrettyPrinter.h34 struct PrintingPolicy { struct
36 PrintingPolicy(const LangOptions &LO) in PrintingPolicy() argument
DType.h98 struct PrintingPolicy;
414 std::string getAsString(const PrintingPolicy &Policy) const;
416 bool isEmptyWhenPrinted(const PrintingPolicy &Policy) const;
417 void print(raw_ostream &OS, const PrintingPolicy &Policy,
828 std::string getAsString(const PrintingPolicy &Policy) const;
830 void print(raw_ostream &OS, const PrintingPolicy &Policy,
835 const PrintingPolicy &policy, const Twine &PlaceHolder) {
839 raw_ostream &OS, const PrintingPolicy &policy,
843 const PrintingPolicy &Policy) const {
847 const PrintingPolicy &policy) {
[all …]
DNestedNameSpecifier.h28 struct PrintingPolicy;
198 void print(raw_ostream &OS, const PrintingPolicy &Policy) const;
DTemplateName.h30 struct PrintingPolicy;
308 void print(raw_ostream &OS, const PrintingPolicy &Policy,
DASTContext.h386 clang::PrintingPolicy PrintingPolicy; variable
396 clang::PrintingPolicy getPrintingPolicy() const { return PrintingPolicy; } in getPrintingPolicy()
398 void setPrintingPolicy(clang::PrintingPolicy Policy) { in setPrintingPolicy()
399 PrintingPolicy = Policy; in setPrintingPolicy()
DTemplateBase.h34 struct PrintingPolicy;
311 void print(const PrintingPolicy &Policy, raw_ostream &Out) const;
DAttr.h109 const PrintingPolicy &Policy) const = 0;
DDeclBase.h855 void print(raw_ostream &Out, const PrintingPolicy &Policy,
858 raw_ostream &Out, const PrintingPolicy &Policy,
DDecl.h160 std::string getQualifiedNameAsString(const PrintingPolicy &Policy) const;
172 const PrintingPolicy &Policy, in getNameForDiagnostic()
1618 const PrintingPolicy &Policy,
/external/clang/include/clang/Sema/
DLocInfoType.h53 const PrintingPolicy &Policy) const;
/external/clang/lib/Rewrite/Core/
DRewriter.cpp337 To->printPretty(S, 0, PrintingPolicy(*LangOpts)); in ReplaceStmt()
347 From->printPretty(S, 0, PrintingPolicy(*LangOpts)); in ConvertToString()
/external/clang/lib/Sema/
DSemaCodeComplete.cpp1393 static PrintingPolicy getCompletionPrintingPolicy(const ASTContext &Context, in getCompletionPrintingPolicy()
1395 PrintingPolicy Policy = Sema::getPrintingPolicy(Context, PP); in getCompletionPrintingPolicy()
1403 static PrintingPolicy getCompletionPrintingPolicy(Sema &S) { in getCompletionPrintingPolicy()
1414 const PrintingPolicy &Policy, in GetCompletionTypeString()
1449 PrintingPolicy Policy = getCompletionPrintingPolicy(S); in addThisCompletion()
1465 PrintingPolicy Policy = getCompletionPrintingPolicy(SemaRef); in AddOrdinaryNameResults()
1999 const PrintingPolicy &Policy, in AddResultTypeChunk()
2066 const PrintingPolicy &Policy, in FormatFunctionParameter()
2197 const PrintingPolicy &Policy, in AddFunctionParameterChunks()
2250 const PrintingPolicy &Policy, in AddTemplateParameterChunks()
[all …]
DSema.cpp62 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
64 PrintingPolicy Policy = Context.getPrintingPolicy(); in getPrintingPolicy()
/external/clang/lib/Analysis/
DCFG.cpp3593 PrintingPolicy Policy;
3596 const PrintingPolicy &Policy) in CFGBlockTerminatorPrint()
3713 S->printPretty(OS, Helper, PrintingPolicy(Helper->getLangOpts())); in print_elem()
3743 IE->printPretty(OS, Helper, PrintingPolicy(Helper->getLangOpts())); in print_elem()
3818 PrintingPolicy(Helper->getLangOpts())); in print_block()
3822 PrintingPolicy(Helper->getLangOpts())); in print_block()
3829 CS->getExceptionDecl()->print(OS, PrintingPolicy(Helper->getLangOpts()), in print_block()
3869 PrintingPolicy(Helper->getLangOpts())); in print_block()
3986 CFGBlockTerminatorPrint TPrinter(OS, NULL, PrintingPolicy(LO)); in printTerminator()
/external/clang/lib/StaticAnalyzer/Core/
DEnvironment.cpp295 S->printPretty(Out, 0, PrintingPolicy(LO)); in printAux()
DMemRegion.cpp494 Str->printPretty(os, 0, PrintingPolicy(getContext().getLangOpts())); in dumpToStream()
498 Str->printPretty(os, 0, PrintingPolicy(getContext().getLangOpts())); in dumpToStream()
DExprEngine.cpp1940 S->printPretty(Out, 0, PrintingPolicy(LO)); in getNodeLabel()
2002 C->getLHS()->printPretty(Out, 0, PrintingPolicy(LO)); in getNodeLabel()
2006 RHS->printPretty(Out, 0, PrintingPolicy(LO)); in getNodeLabel()
/external/clang/unittests/AST/
DDeclPrinterTest.cpp35 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintDecl()

12