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

References

tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 2497   emitSourceFileHeader("Attribute classes' member function definitions", OS);
 2513       ai->writeAccessorDefinitions(OS);
 2515     OS << R.getName() << "Attr *" << R.getName()
 2517     OS << "  auto *A = new (C) " << R.getName() << "Attr(C, *this";
 2519       OS << ", ";
 2520       ai->writeCloneArgs(OS);
 2522     OS << ");\n";
 2523     OS << "  A->Inherited = Inherited;\n";
 2524     OS << "  A->IsPackExpansion = IsPackExpansion;\n";
 2525     OS << "  A->setImplicit(Implicit);\n";
 2526     OS << "  return A;\n}\n\n";
 2528     writePrettyPrintFunction(R, Args, OS);
 2529     writeGetSpellingFunction(R, OS);
 2535     OS << "  switch (getKind()) {\n";
 2541       OS << "  case attr::" << R.getName() << ":\n";
 2542       OS << "    return cast<" << R.getName() << "Attr>(this)->" << Method
 2545     OS << "  }\n";
 2546     OS << "  llvm_unreachable(\"Unexpected attribute kind!\");\n";
 2547     OS << "}\n\n";
 2550   OS << "const char *Attr::getSpelling() const {\n";
 2553   OS << "Attr *Attr::clone(ASTContext &C) const {\n";
 2556   OS << "void Attr::printPretty(raw_ostream &OS, "