Home
last modified time | relevance | path

Searched refs:PrintingPolicy (Results 1 – 25 of 43) 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()
404 PrintingPolicy InnerPolicy(Policy); in printMemberPointerBefore()
556 const PrintingPolicy &Policy) in printExceptionSpecification()
[all …]
DTemplateName.cpp128 TemplateName::print(raw_ostream &OS, const PrintingPolicy &Policy, in print()
167 N.print(OS, PrintingPolicy(LO)); in operator <<()
177 print(OS, PrintingPolicy(LO)); in dump()
DTemplateBase.cpp340 void TemplateArgument::print(const PrintingPolicy &Policy, in print()
348 PrintingPolicy SubPolicy(Policy); in print()
548 PrintingPolicy Policy(LangOpts); in operator <<()
559 PrintingPolicy Policy(LangOpts); in operator <<()
DNestedNameSpecifier.cpp224 const PrintingPolicy &Policy) const { in print()
254 PrintingPolicy InnerPolicy(Policy); in print()
287 print(llvm::errs(), PrintingPolicy(LO)); in dump()
DDeclPrinter.cpp30 PrintingPolicy Policy;
41 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, in DeclPrinter()
97 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, in print()
136 raw_ostream &Out, const PrintingPolicy &Policy, in printGroup()
148 PrintingPolicy SubPolicy(Policy); in printGroup()
409 PrintingPolicy SubPolicy(Policy); in VisitFunctionDecl()
DStmtPrinter.cpp38 PrintingPolicy Policy;
42 const PrintingPolicy &Policy, in StmtPrinter()
326 PrintingPolicy SubPolicy(Policy); in VisitCXXForRangeStmt()
1866 printPretty(llvm::errs(), 0, PrintingPolicy(Context.getLangOpts())); in dumpPretty()
1871 const PrintingPolicy &Policy, in printPretty()
DDecl.cpp1129 std::string NamedDecl::getQualifiedNameAsString(const PrintingPolicy &P) const { in getQualifiedNameAsString()
1141 const PrintingPolicy &P) const { in printQualifiedName()
1212 const PrintingPolicy &Policy, in getNameForDiagnostic()
1944 raw_ostream &OS, const PrintingPolicy &Policy, bool Qualified) const { in getNameForDiagnostic()
/external/clang/include/clang/AST/
DPrettyPrinter.h35 struct PrintingPolicy { struct
37 PrintingPolicy(const LangOptions &LO) in PrintingPolicy() argument
DNestedNameSpecifier.h28 struct PrintingPolicy;
197 void print(raw_ostream &OS, const PrintingPolicy &Policy) const;
DType.h99 struct PrintingPolicy;
470 std::string getAsString(const PrintingPolicy &Policy) const;
472 bool isEmptyWhenPrinted(const PrintingPolicy &Policy) const;
473 void print(raw_ostream &OS, const PrintingPolicy &Policy,
872 std::string getAsString(const PrintingPolicy &Policy) const;
874 void print(raw_ostream &OS, const PrintingPolicy &Policy,
879 const PrintingPolicy &policy, const Twine &PlaceHolder) {
883 raw_ostream &OS, const PrintingPolicy &policy,
887 const PrintingPolicy &Policy) const {
891 const PrintingPolicy &policy) {
[all …]
DTemplateName.h30 struct PrintingPolicy;
309 void print(raw_ostream &OS, const PrintingPolicy &Policy,
DAttr.h104 const PrintingPolicy &Policy) const = 0;
DASTContext.h377 clang::PrintingPolicy PrintingPolicy; variable
439 const clang::PrintingPolicy &getPrintingPolicy() const { in getPrintingPolicy()
440 return PrintingPolicy; in getPrintingPolicy()
443 void setPrintingPolicy(const clang::PrintingPolicy &Policy) { in setPrintingPolicy()
444 PrintingPolicy = Policy; in setPrintingPolicy()
DTemplateBase.h33 struct PrintingPolicy;
339 void print(const PrintingPolicy &Policy, raw_ostream &Out) const;
DDeclBase.h46 struct PrintingPolicy;
861 void print(raw_ostream &Out, const PrintingPolicy &Policy,
864 raw_ostream &Out, const PrintingPolicy &Policy,
DDecl.h161 void printQualifiedName(raw_ostream &OS, const PrintingPolicy &Policy) const;
165 std::string getQualifiedNameAsString(const PrintingPolicy &Policy) const;
175 const PrintingPolicy &Policy,
1542 const PrintingPolicy &Policy,
/external/clang/include/clang/Sema/
DLocInfoType.h53 const PrintingPolicy &Policy) const;
/external/clang/unittests/AST/
DStmtPrinterTest.cpp35 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintStmt()
DDeclPrinterTest.cpp35 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintDecl()
/external/clang/lib/Rewrite/Core/
DRewriter.cpp339 To->printPretty(S, 0, PrintingPolicy(*LangOpts)); in ReplaceStmt()
349 From->printPretty(S, 0, PrintingPolicy(*LangOpts)); in ConvertToString()
/external/clang/lib/StaticAnalyzer/Core/
DEnvironment.cpp239 S->printPretty(Out, 0, PrintingPolicy(LO)); in print()
DMemRegion.cpp502 Str->printPretty(os, 0, PrintingPolicy(getContext().getLangOpts())); in dumpToStream()
506 Str->printPretty(os, 0, PrintingPolicy(getContext().getLangOpts())); in dumpToStream()
/external/clang/lib/Sema/
DSemaCodeComplete.cpp1448 static PrintingPolicy getCompletionPrintingPolicy(const ASTContext &Context, in getCompletionPrintingPolicy()
1450 PrintingPolicy Policy = Sema::getPrintingPolicy(Context, PP); in getCompletionPrintingPolicy()
1458 static PrintingPolicy getCompletionPrintingPolicy(Sema &S) { in getCompletionPrintingPolicy()
1469 const PrintingPolicy &Policy, in GetCompletionTypeString()
1504 PrintingPolicy Policy = getCompletionPrintingPolicy(S); in addThisCompletion()
1520 PrintingPolicy Policy = getCompletionPrintingPolicy(SemaRef); in AddOrdinaryNameResults()
2054 const PrintingPolicy &Policy, in AddResultTypeChunk()
2123 const PrintingPolicy &Policy, in FormatFunctionParameter()
2253 const PrintingPolicy &Policy, in AddFunctionParameterChunks()
2306 const PrintingPolicy &Policy, in AddTemplateParameterChunks()
[all …]
DSema.cpp47 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
49 PrintingPolicy Policy = Context.getPrintingPolicy(); in getPrintingPolicy()
/external/clang/lib/Analysis/
DCFG.cpp3629 PrintingPolicy Policy;
3632 const PrintingPolicy &Policy) in CFGBlockTerminatorPrint()
3749 S->printPretty(OS, Helper, PrintingPolicy(Helper->getLangOpts())); in print_elem()
3779 IE->printPretty(OS, Helper, PrintingPolicy(Helper->getLangOpts())); in print_elem()
3855 PrintingPolicy(Helper->getLangOpts())); in print_block()
3859 PrintingPolicy(Helper->getLangOpts())); in print_block()
3866 CS->getExceptionDecl()->print(OS, PrintingPolicy(Helper->getLangOpts()), in print_block()
3905 PrintingPolicy PP(Helper ? Helper->getLangOpts() : LangOptions()); in print_block()
4023 CFGBlockTerminatorPrint TPrinter(OS, NULL, PrintingPolicy(LO)); in printTerminator()

12