reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
249 OS << getUpperName(); 263 OS << " " << type << " get" << getUpperName() << "() const {\n"; 273 OS << "A->get" << getUpperName() << "()"; 277 OS << getLowerName() << "(" << getUpperName() << ")"; 285 OS << type << " " << getUpperName(); 303 std::string(getUpperName()) + "()"); 308 return "!get" + getUpperName().str() + "()"; 310 return "!get" + getUpperName().str() + "Loc()"; 312 return "!get" + getUpperName().str() + "().isValid()"; 318 OS << "\" << get" << getUpperName() 323 OS << "\" << (get" << getUpperName() << "() ? get" << getUpperName() 323 OS << "\" << (get" << getUpperName() << "() ? get" << getUpperName() 326 OS << "\" << get" << getUpperName() << "().getAsString() << \""; 328 OS << "\" << get" << getUpperName() << "().getSourceIndex() << \""; 330 OS << "\" << get" << getUpperName() << "() << \""; 336 OS << " dumpBareDeclRef(SA->get" << getUpperName() << "());\n"; 340 OS << " if (SA->get" << getUpperName() << "())\n" 341 << " OS << \" \" << SA->get" << getUpperName() 345 OS << " if (SA->get" << getUpperName() << "Loc())"; 346 OS << " OS << \" \" << SA->get" << getUpperName() 349 OS << " if (SA->get" << getUpperName() << "()) OS << \" " 350 << getUpperName() << "\";\n"; 352 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; 355 OS << " if (SA->get" << getUpperName() << "().isValid())\n "; 356 OS << " OS << \" \" << SA->get" << getUpperName() 375 OS << "\n\n static const " << getType() << " Default" << getUpperName() 392 OS << " llvm::StringRef get" << getUpperName() << "() const {\n"; 396 OS << " unsigned get" << getUpperName() << "Length() const {\n"; 399 OS << " void set" << getUpperName() 411 OS << "get" << getUpperName() << "()"; 415 OS << "A->get" << getUpperName() << "()"; 419 OS << " if (!" << getUpperName() << ".empty())\n"; 420 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() 425 OS << getLowerName() << "Length(" << getUpperName() << ".size())," 435 OS << "llvm::StringRef " << getUpperName(); 453 OS << " Record.AddString(SA->get" << getUpperName() << "());\n"; 457 OS << "\\\"\" << get" << getUpperName() << "() << \"\\\""; 461 OS << " OS << \" \\\"\" << SA->get" << getUpperName() 473 OS << " bool is" << getUpperName() << "Dependent() const;\n"; 475 OS << " unsigned get" << getUpperName() << "(ASTContext &Ctx) const;\n"; 477 OS << " bool is" << getUpperName() << "Expr() const {\n"; 481 OS << " Expr *get" << getUpperName() << "Expr() const {\n"; 486 OS << " TypeSourceInfo *get" << getUpperName() << "Type() const {\n"; 493 OS << "bool " << getAttrName() << "Attr::is" << getUpperName() 507 OS << "unsigned " << getAttrName() << "Attr::get" << getUpperName() 509 OS << " assert(!is" << getUpperName() << "Dependent());\n"; 521 StringRef Name = getUpperName(); 546 << getUpperName() << ");\n"; 549 << "Type = reinterpret_cast<TypeSourceInfo *>(" << getUpperName() 554 OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)"; 562 OS << "bool Is" << getUpperName() << "Expr, void *" << getUpperName(); 562 OS << "bool Is" << getUpperName() << "Expr, void *" << getUpperName(); 566 OS << "Is" << getUpperName() << "Expr, " << getUpperName(); 566 OS << "Is" << getUpperName() << "Expr, " << getUpperName(); 592 OS << " Record.push_back(SA->is" << getUpperName() << "Expr());\n"; 593 OS << " if (SA->is" << getUpperName() << "Expr())\n"; 594 OS << " Record.AddStmt(SA->get" << getUpperName() << "Expr());\n"; 596 OS << " Record.AddTypeSourceInfo(SA->get" << getUpperName() 613 OS << " if (!SA->is" << getUpperName() << "Expr())\n"; 614 OS << " dumpType(SA->get" << getUpperName() 619 OS << " if (SA->is" << getUpperName() << "Expr())\n"; 620 OS << " Visit(SA->get" << getUpperName() << "Expr());\n"; 624 OS << "SA->is" << getUpperName() << "Expr()"; 684 OS << " std::copy(" << getUpperName() << ", " << getUpperName() 684 OS << " std::copy(" << getUpperName() << ", " << getUpperName() 689 OS << ArgSizeName << "(" << getUpperName() << "Size), " 699 OS << getType() << " *" << getUpperName() << ", unsigned " 700 << getUpperName() << "Size"; 704 OS << getUpperName() << ", " << getUpperName() << "Size"; 704 OS << getUpperName() << ", " << getUpperName() << "Size"; 820 OS << " " << type << " get" << getUpperName() << "() const {\n"; 830 OS << "A->get" << getUpperName() << "()"; 833 OS << getLowerName() << "(" << getUpperName() << ")"; 839 OS << type << " " << getUpperName(); 867 OS << "Record.push_back(SA->get" << getUpperName() << "());\n"; 875 << getUpperName() << "()) << \"\\\""; 879 OS << " switch(SA->get" << getUpperName() << "()) {\n"; 1037 OS << " VersionTuple get" << getUpperName() << "() const {\n"; 1040 OS << " void set" << getUpperName() 1047 OS << "get" << getUpperName() << "()"; 1051 OS << "A->get" << getUpperName() << "()"; 1055 OS << getLowerName() << "(" << getUpperName() << ")"; 1063 OS << "VersionTuple " << getUpperName(); 1080 OS << " Record.AddVersionTuple(SA->get" << getUpperName() << "());\n"; 1084 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; 1088 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; 1100 << "getDerived().TraverseStmt(A->get" << getUpperName() << "()))\n"; 1105 OS << "tempInst" << getUpperName(); 1109 OS << " " << getType() << " tempInst" << getUpperName() << ";\n"; 1114 << "A->get" << getUpperName() << "(), TemplateArgs);\n"; 1115 OS << " tempInst" << getUpperName() << " = " 1123 OS << " Visit(SA->get" << getUpperName() << "());\n"; 1149 OS << "tempInst" << getUpperName() << ", " 1154 OS << " auto *tempInst" << getUpperName() 1160 OS << " " << getType() << " *TI = tempInst" << getUpperName() 1204 " StringRef Ref = " << getUpperName() << "[I];\n" 1225 OS << " QualType get" << getUpperName() << "() const {\n"; 1228 OS << " " << getType() << " get" << getUpperName() << "Loc() const {\n"; 1234 OS << " if (auto *TSI = A->get" << getUpperName() << "Loc())\n"; 1240 OS << "A->get" << getUpperName() << "Loc()"; 1245 getType(), "SA->get" + std::string(getUpperName()) + "Loc()");