reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
223 Out << " "; 224 return Out; 242 A->printPretty(Out, Policy); 260 A->printPretty(Out, Policy); 278 T.print(Out, Policy, (Pack ? "..." : "") + DeclName, Indentation); 283 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); 284 Out << ";\n"; 292 case AS_public: Out << "public"; break; 293 case AS_protected: Out << "protected"; break; 294 case AS_private: Out << "private"; break; 307 Out << Proto; 311 Out << ", "; 315 Out << *FD; 317 Out << QualType(BMInitializer->getBaseClass(), 0).getAsString(Policy); 320 Out << "("; 344 SimpleInit->printPretty(Out, nullptr, Policy, Indentation); 352 Out << ", "; 353 Args[I]->printPretty(Out, nullptr, Policy, Indentation); 357 Out << ")"; 359 Out << "..."; 431 Out << ":\n"; 473 Out << Terminator; 481 Out << "\n"; 486 Out << "#pragma omp end declare target\n"; 502 Out << "typedef "; 505 Out << "__module_private__ "; 508 Ty.print(Out, Policy, D->getName(), Indentation); 513 Out << "using " << *D; 515 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); 520 Out << "__module_private__ "; 521 Out << "enum"; 524 Out << " class"; 526 Out << " struct"; 531 Out << ' ' << *D; 534 Out << " : " << D->getIntegerType().stream(Policy); 537 Out << " {\n"; 545 Out << "__module_private__ "; 546 Out << D->getKindName(); 551 Out << ' ' << *D; 554 Out << " {\n"; 561 Out << *D; 564 Out << " = "; 565 Init->printPretty(Out, nullptr, Policy, Indentation, "\n", &Context); 590 Out << "template<> "; 603 case SC_Extern: Out << "extern "; break; 604 case SC_Static: Out << "static "; break; 605 case SC_PrivateExtern: Out << "__private_extern__ "; break; 610 if (D->isInlineSpecified()) Out << "inline "; 611 if (D->isVirtualAsWritten()) Out << "virtual "; 612 if (D->isModulePrivate()) Out << "__module_private__ "; 614 Out << "constexpr "; 615 if (D->isConsteval()) Out << "consteval "; 618 printExplicitSpecifier(ExplicitSpec, Out, Policy, Indentation); 730 Out << "auto "; 731 Out << Proto << " -> "; 734 AFT->getReturnType().print(Out, Policy, Proto); 737 Out << Proto; 739 Ty.print(Out, Policy, Proto); 745 Out << " = 0"; 747 Out << " = delete"; 749 Out << " = default"; 755 Out << '\n'; 756 DeclPrinter ParamPrinter(Out, SubPolicy, Context, Indentation); 761 Out << ";\n"; 765 Out << ' '; 768 D->getBody()->printPretty(Out, nullptr, SubPolicy, Indentation); 771 Out << " {}"; 781 Out << "friend "; 782 Out << " " << TSI->getType().getAsString(Policy); 786 Out << "friend "; 791 Out << "friend "; 796 Out << "friend "; 804 Out << "mutable "; 806 Out << "__module_private__ "; 808 Out << D->getASTContext().getUnqualifiedObjCPointerType(D->getType()). 812 Out << " : "; 813 D->getBitWidth()->printPretty(Out, nullptr, Policy, Indentation); 819 Out << " "; 821 Out << " = "; 822 Init->printPretty(Out, nullptr, Policy, Indentation); 828 Out << *D << ":"; 841 Out << VarDecl::getStorageClassSpecifierString(SC) << " "; 847 Out << "__thread "; 850 Out << "_Thread_local "; 853 Out << "thread_local "; 858 Out << "__module_private__ "; 861 Out << "constexpr "; 880 Out << "("; 882 Out << " = "; 887 Init->printPretty(Out, nullptr, SubPolicy, Indentation); 889 Out << ")"; 900 Out << "__asm ("; 901 D->getAsmString()->printPretty(Out, nullptr, Policy, Indentation); 902 Out << ")"; 906 Out << "@import " << D->getImportedModule()->getFullModuleName() 911 Out << "static_assert("; 912 D->getAssertExpr()->printPretty(Out, nullptr, Policy, Indentation); 914 Out << ", "; 915 SL->printPretty(Out, nullptr, Policy, Indentation); 917 Out << ")"; 925 Out << "inline "; 926 Out << "namespace " << *D << " {\n"; 932 Out << "using namespace "; 934 D->getQualifier()->print(Out, Policy); 935 Out << *D->getNominatedNamespaceAsWritten(); 939 Out << "namespace " << *D << " = "; 941 D->getQualifier()->print(Out, Policy); 942 Out << *D->getAliasedNamespace(); 952 Out << "__module_private__ "; 953 Out << D->getKindName(); 958 Out << ' ' << *D; 969 Out << " : "; 973 Out << ", "; 976 Out << "virtual "; 981 Out << " "; 983 Out << Base->getType().getAsString(Policy); 986 Out << "..."; 993 Out << " {}"; 995 Out << " {\n"; 1019 Out << "extern \"" << l << "\" "; 1021 Out << "{\n"; 1033 Out << "template "; 1034 Out << '<'; 1042 Out << ", "; 1049 Out << "typename"; 1051 Out << "class"; 1054 Out << " ..."; 1056 Out << ' '; 1058 Out << *TTP; 1061 Out << " = "; 1062 Out << TTP->getDefaultArgument().getAsString(Policy); 1071 Out << " = "; 1072 NTTP->getDefaultArgument()->printPretty(Out, nullptr, Policy, 1081 Out << '>'; 1083 Out << ' '; 1088 Out << "<"; 1092 Out << ", "; 1097 Out << *P; 1105 Out << *P; 1114 Out << *P; 1119 A.print(Policy, Out); 1121 Out << ">"; 1129 Out << "class "; 1131 Out << "..."; 1132 Out << D->getName(); 1136 Out << "concept " << Concept->getName() << " = " ; 1137 Concept->getConstraintExpr()->printPretty(Out, nullptr, Policy, 1139 Out << ";"; 1155 Out << "#pragma omp end declare target\n"; 1168 Out << ";\n"; 1183 Out << ";"; 1184 Out << "\n"; 1192 Out << "template<> "; 1209 Out << '('; 1211 Out << "in "; 1213 Out << "inout "; 1215 Out << "out "; 1217 Out << "bycopy "; 1219 Out << "byref "; 1221 Out << "oneway "; 1224 Out << getNullabilitySpelling(*nullability, true) << ' '; 1227 Out << Ctx.getUnqualifiedObjCPointerType(T).getAsString(Policy); 1228 Out << ')'; 1232 Out << "<"; 1238 Out << ", "; 1246 Out << "__covariant "; 1250 Out << "__contravariant "; 1254 Out << Param->getDeclName().getAsString(); 1257 Out << " : " << Param->getUnderlyingType().getAsString(Policy); 1260 Out << ">"; 1265 Out << "- "; 1267 Out << "+ "; 1279 Out << " "; 1280 Out << name.substr(lastPos, pos - lastPos) << ':'; 1284 Out << *PI; 1289 Out << name; 1292 Out << ", ..."; 1297 Out << ' '; 1298 OMD->getBody()->printPretty(Out, nullptr, Policy); 1301 Out << ';'; 1310 Out << "@implementation " << I << " : " << *SID; 1312 Out << "@implementation " << I; 1315 Out << "{\n"; 1323 Out << "}\n"; 1326 Out << "\n"; 1331 Out << "\n"; 1332 Out << "@end"; 1340 Out << "@class " << I; 1346 Out << ";"; 1350 Out << "@interface " << I; 1357 Out << " : " << QualType(OID->getSuperClassType(), 0).getAsString(Policy); 1364 Out << (I == Protocols.begin() ? '<' : ',') << **I; 1365 Out << "> "; 1369 Out << "{\n"; 1378 Out << "}\n"; 1381 Out << "\n"; 1387 Out << "\n"; 1388 Out << "@end"; 1394 Out << "@protocol " << *PID << ";\n"; 1400 Out << "@protocol " << *PID; 1403 Out << (I == Protocols.begin() ? '<' : ',') << **I; 1404 Out << ">\n"; 1406 Out << "@protocol " << *PID << '\n'; 1408 Out << "@end"; 1412 Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n"; 1415 Out << "@end"; 1420 Out << "@interface " << *PID->getClassInterface(); 1424 Out << "(" << *PID << ")\n"; 1426 Out << "{\n"; 1432 Out << "}\n"; 1436 Out << "@end"; 1442 Out << "@compatibility_alias " << *AID 1457 Out << "@required\n"; 1459 Out << "@optional\n"; 1463 Out << "@property"; 1466 Out << "("; 1468 Out << (first ? "" : ", ") << "class"; 1474 Out << (first ? "" : ", ") << "nonatomic"; 1479 Out << (first ? "" : ", ") << "atomic"; 1484 Out << (first ? "" : ", ") << "assign"; 1488 Out << (first ? "" : ", ") << "retain"; 1493 Out << (first ? "" : ", ") << "strong"; 1497 Out << (first ? "" : ", ") << "copy"; 1501 Out << (first ? "" : ", ") << "weak"; 1506 Out << (first ? "" : ", ") << "unsafe_unretained"; 1512 Out << (first ? "" : ", ") << "readwrite"; 1517 Out << (first ? "" : ", ") << "readonly"; 1522 Out << (first ? "" : ", ") << "getter = "; 1523 PDecl->getGetterName().print(Out); 1527 Out << (first ? "" : ", ") << "setter = "; 1528 PDecl->getSetterName().print(Out); 1538 Out << (first ? "" : ", ") << "null_resettable"; 1540 Out << (first ? "" : ", ") 1548 Out << ")"; 1552 Out << ' ' << TypeStr; 1554 Out << ' '; 1555 Out << *PDecl; 1557 Out << ';'; 1562 Out << "@synthesize "; 1564 Out << "@dynamic "; 1565 Out << *PID->getPropertyDecl(); 1567 Out << '=' << *PID->getPropertyIvarDecl(); 1572 Out << "using "; 1574 Out << "typename "; 1575 D->getQualifier()->print(Out, Policy); 1583 Out << *ConstructorShadow->getNominatedBaseClass(); 1587 Out << *D; 1592 Out << "using typename "; 1593 D->getQualifier()->print(Out, Policy); 1594 Out << D->getDeclName(); 1599 Out << "using "; 1600 D->getQualifier()->print(Out, Policy); 1601 Out << D->getDeclName(); 1609 Out << "#pragma omp threadprivate"; 1614 Out << (I == D->varlist_begin() ? '(' : ','); 1616 ND->printQualifiedName(Out); 1618 Out << ")"; 1623 Out << "#pragma omp allocate"; 1628 Out << (I == D->varlist_begin() ? '(' : ','); 1630 ND->printQualifiedName(Out); 1632 Out << ")"; 1635 Out << " "; 1636 OMPClausePrinter Printer(Out, Policy); 1643 Out << "#pragma omp requires "; 1645 OMPClausePrinter Printer(Out, Policy); 1653 Out << "#pragma omp declare reduction ("; 1658 Out << OpName; 1661 D->printName(Out); 1663 Out << " : "; 1664 D->getType().print(Out, Policy); 1665 Out << " : "; 1666 D->getCombiner()->printPretty(Out, nullptr, Policy, 0); 1667 Out << ")"; 1669 Out << " initializer("; 1672 Out << "omp_priv("; 1675 Out << "omp_priv = "; 1680 Init->printPretty(Out, nullptr, Policy, 0); 1682 Out << ")"; 1683 Out << ")"; 1690 Out << "#pragma omp declare mapper ("; 1691 D->printName(Out); 1692 Out << " : "; 1693 D->getType().print(Out, Policy); 1694 Out << " "; 1695 Out << D->getVarName(); 1696 Out << ")"; 1698 OMPClausePrinter Printer(Out, Policy); 1700 Out << " "; 1708 D->getInit()->printPretty(Out, nullptr, Policy, Indentation);