reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/DeclPrinter.cpp
  228   if (Policy.PolishForDeclaration)
  242         A->printPretty(Out, Policy);
  250   if (Policy.PolishForDeclaration)
  260         A->printPretty(Out, Policy);
  278   T.print(Out, Policy, (Pack ? "..." : "") + DeclName, Indentation);
  283   Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation);
  317       Out << QualType(BMInitializer->getBaseClass(), 0).getAsString(Policy);
  344         SimpleInit->printPretty(Out, nullptr, Policy, Indentation);
  353           Args[I]->printPretty(Out, nullptr, Policy, Indentation);
  368   if (Policy.TerseOutput)
  372     Indentation += Policy.Indentation;
  428       Indentation -= Policy.Indentation;
  432       Indentation += Policy.Indentation;
  474     if (!Policy.TerseOutput &&
  493     Indentation -= Policy.Indentation;
  501   if (!Policy.SuppressSpecifiers) {
  508   Ty.print(Out, Policy, D->getName(), Indentation);
  515   Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy);
  519   if (!Policy.SuppressSpecifiers && D->isModulePrivate())
  534     Out << " : " << D->getIntegerType().stream(Policy);
  544   if (!Policy.SuppressSpecifiers && D->isModulePrivate())
  565     Init->printPretty(Out, nullptr, Policy, Indentation, "\n", &Context);
  600   if (!Policy.SuppressSpecifiers) {
  618       printExplicitSpecifier(ExplicitSpec, Out, Policy, Indentation);
  621   PrintingPolicy SubPolicy(Policy);
  625   if (Policy.FullyQualifiedName) {
  628     if (!Policy.SuppressScope) {
  631         NS->print(OS, Policy);
  725       if (!Policy.TerseOutput)
  734       AFT->getReturnType().print(Out, Policy, Proto);
  739     Ty.print(Out, Policy, Proto);
  751     if (!Policy.TerseOutput) {
  757         Indentation += Policy.Indentation;
  763         Indentation -= Policy.Indentation;
  770       if (!Policy.TerseOutput && isa<CXXConstructorDecl>(*D))
  782     Out << " " << TSI->getType().getAsString(Policy);
  803   if (!Policy.SuppressSpecifiers && D->isMutable())
  805   if (!Policy.SuppressSpecifiers && D->isModulePrivate())
  809          stream(Policy, D->getName(), Indentation);
  813     D->getBitWidth()->printPretty(Out, nullptr, Policy, Indentation);
  817   if (!Policy.SuppressInitializers && Init) {
  822     Init->printPretty(Out, nullptr, Policy, Indentation);
  838   if (!Policy.SuppressSpecifiers) {
  868   if (!Policy.SuppressInitializers && Init) {
  884       PrintingPolicy SubPolicy(Policy);
  901   D->getAsmString()->printPretty(Out, nullptr, Policy, Indentation);
  912   D->getAssertExpr()->printPretty(Out, nullptr, Policy, Indentation);
  915     SL->printPretty(Out, nullptr, Policy, Indentation);
  934     D->getQualifier()->print(Out, Policy);
  941     D->getQualifier()->print(Out, Policy);
  951   if (!Policy.SuppressSpecifiers && D->isModulePrivate())
  983         Out << Base->getType().getAsString(Policy);
  992     if (Policy.TerseOutput) {
 1062         Out << TTP->getDefaultArgument().getAsString(Policy);
 1072         NTTP->getDefaultArgument()->printPretty(Out, nullptr, Policy,
 1119     A.print(Policy, Out);
 1137     Concept->getConstraintExpr()->printPretty(Out, nullptr, Policy,
 1227   Out << Ctx.getUnqualifiedObjCPointerType(T).getAsString(Policy);
 1257       Out << " : " << Param->getUnderlyingType().getAsString(Policy);
 1296   if (OMD->getBody() && !Policy.TerseOutput) {
 1298     OMD->getBody()->printPretty(Out, nullptr, Policy);
 1300   else if (Policy.PolishForDeclaration)
 1317     Indentation += Policy.Indentation;
 1320                     getAsString(Policy) << ' ' << *I << ";\n";
 1322     Indentation -= Policy.Indentation;
 1357     Out << " : " << QualType(OID->getSuperClassType(), 0).getAsString(Policy);
 1371     Indentation += Policy.Indentation;
 1375                       .getAsString(Policy) << ' ' << *I << ";\n";
 1377     Indentation -= Policy.Indentation;
 1427     Indentation += Policy.Indentation;
 1430                     getAsString(Policy) << ' ' << *I << ";\n";
 1431     Indentation -= Policy.Indentation;
 1551       getAsString(Policy);
 1556   if (Policy.PolishForDeclaration)
 1575   D->getQualifier()->print(Out, Policy);
 1593   D->getQualifier()->print(Out, Policy);
 1600   D->getQualifier()->print(Out, Policy);
 1636     OMPClausePrinter Printer(Out, Policy);
 1645     OMPClausePrinter Printer(Out, Policy);
 1664     D->getType().print(Out, Policy);
 1666     D->getCombiner()->printPretty(Out, nullptr, Policy, 0);
 1680       Init->printPretty(Out, nullptr, Policy, 0);
 1693     D->getType().print(Out, Policy);
 1698       OMPClausePrinter Printer(Out, Policy);
 1708   D->getInit()->printPretty(Out, nullptr, Policy, Indentation);