Lines Matching refs:getUpperName
206 StringRef getUpperName() const { return upperName; } in getUpperName() function in __anon307181880211::Argument
240 OS << getUpperName(); in writeImplicitCtorArgs()
254 OS << " " << type << " get" << getUpperName() << "() const {\n"; in writeAccessors()
264 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
268 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
276 OS << type << " " << getUpperName(); in writeCtorParameters()
294 std::string(getUpperName()) + "()"); in writePCHWrite()
299 OS << "\" << get" << getUpperName() in writeValue()
302 OS << "\" << get" << getUpperName() << "()->getName() << \""; in writeValue()
304 OS << "\" << get" << getUpperName() << "().getAsString() << \""; in writeValue()
306 OS << "\" << get" << getUpperName() << "() << \""; in writeValue()
313 OS << " dumpBareDeclRef(SA->get" << getUpperName() << "());\n"; in writeDump()
316 OS << " if (SA->get" << getUpperName() << "())\n "; in writeDump()
317 OS << " OS << \" \" << SA->get" << getUpperName() in writeDump()
320 OS << " OS << \" \" << SA->get" << getUpperName() in writeDump()
323 OS << " if (SA->get" << getUpperName() << "()) OS << \" " in writeDump()
324 << getUpperName() << "\";\n"; in writeDump()
326 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
344 OS << "\n\n static const " << getType() << " Default" << getUpperName() in writeAccessors()
361 OS << " llvm::StringRef get" << getUpperName() << "() const {\n"; in writeAccessors()
365 OS << " unsigned get" << getUpperName() << "Length() const {\n"; in writeAccessors()
368 OS << " void set" << getUpperName() in writeAccessors()
380 OS << "get" << getUpperName() << "()"; in writeCloneArgs()
384 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
388 OS << " if (!" << getUpperName() << ".empty())\n"; in writeCtorBody()
389 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() in writeCtorBody()
394 OS << getLowerName() << "Length(" << getUpperName() << ".size())," in writeCtorInitializers()
404 OS << "llvm::StringRef " << getUpperName(); in writeCtorParameters()
422 OS << " Record.AddString(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
426 OS << "\\\"\" << get" << getUpperName() << "() << \"\\\""; in writeValue()
430 OS << " OS << \" \\\"\" << SA->get" << getUpperName() in writeDump()
442 OS << " bool is" << getUpperName() << "Dependent() const;\n"; in writeAccessors()
444 OS << " unsigned get" << getUpperName() << "(ASTContext &Ctx) const;\n"; in writeAccessors()
446 OS << " bool is" << getUpperName() << "Expr() const {\n"; in writeAccessors()
450 OS << " Expr *get" << getUpperName() << "Expr() const {\n"; in writeAccessors()
455 OS << " TypeSourceInfo *get" << getUpperName() << "Type() const {\n"; in writeAccessors()
462 OS << "bool " << getAttrName() << "Attr::is" << getUpperName() in writeAccessorDefinitions()
476 OS << "unsigned " << getAttrName() << "Attr::get" << getUpperName() in writeAccessorDefinitions()
478 OS << " assert(!is" << getUpperName() << "Dependent());\n"; in writeAccessorDefinitions()
504 << getUpperName() << ");\n"; in writeCtorBody()
507 << "Type = reinterpret_cast<TypeSourceInfo *>(" << getUpperName() in writeCtorBody()
512 OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)"; in writeCtorInitializers()
520 OS << "bool Is" << getUpperName() << "Expr, void *" << getUpperName(); in writeCtorParameters()
524 OS << "Is" << getUpperName() << "Expr, " << getUpperName(); in writeImplicitCtorArgs()
550 OS << " Record.push_back(SA->is" << getUpperName() << "Expr());\n"; in writePCHWrite()
551 OS << " if (SA->is" << getUpperName() << "Expr())\n"; in writePCHWrite()
552 OS << " Record.AddStmt(SA->get" << getUpperName() << "Expr());\n"; in writePCHWrite()
554 OS << " Record.AddTypeSourceInfo(SA->get" << getUpperName() in writePCHWrite()
570 OS << " if (SA->is" << getUpperName() << "Expr())\n"; in writeDumpChildren()
571 OS << " dumpStmt(SA->get" << getUpperName() << "Expr());\n"; in writeDumpChildren()
573 OS << " dumpType(SA->get" << getUpperName() in writeDumpChildren()
578 OS << "SA->is" << getUpperName() << "Expr()"; in writeHasChildren()
630 OS << " std::copy(" << getUpperName() << ", " << getUpperName() in writeCtorBody()
635 OS << ArgSizeName << "(" << getUpperName() << "Size), " in writeCtorInitializers()
645 OS << getType() << " *" << getUpperName() << ", unsigned " in writeCtorParameters()
646 << getUpperName() << "Size"; in writeCtorParameters()
650 OS << getUpperName() << ", " << getUpperName() << "Size"; in writeImplicitCtorArgs()
748 OS << " " << type << " get" << getUpperName() << "() const {\n"; in writeAccessors()
758 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
761 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
767 OS << type << " " << getUpperName(); in writeCtorParameters()
795 OS << "Record.push_back(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
803 << getUpperName() << "()) << \"\\\""; in writeValue()
807 OS << " switch(SA->get" << getUpperName() << "()) {\n"; in writeDump()
965 OS << " VersionTuple get" << getUpperName() << "() const {\n"; in writeAccessors()
968 OS << " void set" << getUpperName() in writeAccessors()
975 OS << "get" << getUpperName() << "()"; in writeCloneArgs()
979 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
983 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
991 OS << "VersionTuple " << getUpperName(); in writeCtorParameters()
1008 OS << " Record.AddVersionTuple(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
1012 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; in writeValue()
1016 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
1028 << "getDerived().TraverseStmt(A->get" << getUpperName() << "()))\n"; in writeASTVisitorTraversal()
1033 OS << "tempInst" << getUpperName(); in writeTemplateInstantiationArgs()
1037 OS << " " << getType() << " tempInst" << getUpperName() << ";\n"; in writeTemplateInstantiation()
1042 << "A->get" << getUpperName() << "(), TemplateArgs);\n"; in writeTemplateInstantiation()
1043 OS << " tempInst" << getUpperName() << " = " in writeTemplateInstantiation()
1051 OS << " dumpStmt(SA->get" << getUpperName() << "());\n"; in writeDumpChildren()
1077 OS << "tempInst" << getUpperName() << ", " in writeTemplateInstantiationArgs()
1082 OS << " auto *tempInst" << getUpperName() in writeTemplateInstantiation()
1088 OS << " " << getType() << " *TI = tempInst" << getUpperName() in writeTemplateInstantiation()
1125 " StringRef Ref = " << getUpperName() << "[I];\n" in writeCtorBody()
1146 OS << " QualType get" << getUpperName() << "() const {\n"; in writeAccessors()
1149 OS << " " << getType() << " get" << getUpperName() << "Loc() const {\n"; in writeAccessors()
1155 OS << "A->get" << getUpperName() << "Loc()"; in writeTemplateInstantiationArgs()
1160 getType(), "SA->get" + std::string(getUpperName()) + "Loc()"); in writePCHWrite()