Lines Matching refs:getUpperName
223 StringRef getUpperName() const { return upperName; } in getUpperName() function in __anon2ca3fa2f0211::Argument
258 OS << getUpperName(); in writeImplicitCtorArgs()
272 OS << " " << type << " get" << getUpperName() << "() const {\n"; in writeAccessors()
282 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
286 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
294 OS << type << " " << getUpperName(); in writeCtorParameters()
313 "SA->get" + std::string(getUpperName()) + "()"); in writePCHWrite()
318 return "!get" + getUpperName().str() + "()"; in getIsOmitted()
320 return "!get" + getUpperName().str() + "Loc()"; in getIsOmitted()
322 return "!get" + getUpperName().str() + "().isValid()"; in getIsOmitted()
328 OS << "\" << get" << getUpperName() in writeValue()
333 OS << "\" << (get" << getUpperName() << "() ? get" << getUpperName() in writeValue()
336 OS << "\" << get" << getUpperName() << "()->getName() << \""; in writeValue()
338 OS << "\" << get" << getUpperName() << "().getAsString() << \""; in writeValue()
340 OS << "\" << get" << getUpperName() << "().getSourceIndex() << \""; in writeValue()
342 OS << "\" << get" << getUpperName() << "() << \""; in writeValue()
348 OS << " dumpBareDeclRef(SA->get" << getUpperName() << "());\n"; in writeDump()
352 OS << " if (SA->get" << getUpperName() << "())\n" in writeDump()
353 << " OS << \" \" << SA->get" << getUpperName() in writeDump()
357 OS << " if (SA->get" << getUpperName() << "Loc())"; in writeDump()
358 OS << " OS << \" \" << SA->get" << getUpperName() in writeDump()
361 OS << " if (SA->get" << getUpperName() << "()) OS << \" " in writeDump()
362 << getUpperName() << "\";\n"; in writeDump()
364 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
367 OS << " if (SA->get" << getUpperName() << "().isValid())\n "; in writeDump()
368 OS << " OS << \" \" << SA->get" << getUpperName() in writeDump()
371 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
389 OS << "\n\n static const " << getType() << " Default" << getUpperName() in writeAccessors()
406 OS << " llvm::StringRef get" << getUpperName() << "() const {\n"; in writeAccessors()
410 OS << " unsigned get" << getUpperName() << "Length() const {\n"; in writeAccessors()
413 OS << " void set" << getUpperName() in writeAccessors()
425 OS << "get" << getUpperName() << "()"; in writeCloneArgs()
429 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
433 OS << " if (!" << getUpperName() << ".empty())\n"; in writeCtorBody()
434 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() in writeCtorBody()
439 OS << getLowerName() << "Length(" << getUpperName() << ".size())," in writeCtorInitializers()
449 OS << "llvm::StringRef " << getUpperName(); in writeCtorParameters()
467 OS << " Record.AddString(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
471 OS << "\\\"\" << get" << getUpperName() << "() << \"\\\""; in writeValue()
475 OS << " OS << \" \\\"\" << SA->get" << getUpperName() in writeDump()
487 OS << " bool is" << getUpperName() << "Dependent() const;\n"; in writeAccessors()
488 OS << " bool is" << getUpperName() << "ErrorDependent() const;\n"; in writeAccessors()
490 OS << " unsigned get" << getUpperName() << "(ASTContext &Ctx) const;\n"; in writeAccessors()
492 OS << " bool is" << getUpperName() << "Expr() const {\n"; in writeAccessors()
496 OS << " Expr *get" << getUpperName() << "Expr() const {\n"; in writeAccessors()
501 OS << " TypeSourceInfo *get" << getUpperName() << "Type() const {\n"; in writeAccessors()
508 OS << "bool " << getAttrName() << "Attr::is" << getUpperName() in writeAccessorDefinitions()
519 OS << "bool " << getAttrName() << "Attr::is" << getUpperName() in writeAccessorDefinitions()
531 OS << "unsigned " << getAttrName() << "Attr::get" << getUpperName() in writeAccessorDefinitions()
533 OS << " assert(!is" << getUpperName() << "Dependent());\n"; in writeAccessorDefinitions()
545 StringRef Name = getUpperName(); in writeASTVisitorTraversal()
570 << getUpperName() << ");\n"; in writeCtorBody()
573 << "Type = reinterpret_cast<TypeSourceInfo *>(" << getUpperName() in writeCtorBody()
578 OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)"; in writeCtorInitializers()
586 OS << "bool Is" << getUpperName() << "Expr, void *" << getUpperName(); in writeCtorParameters()
590 OS << "Is" << getUpperName() << "Expr, " << getUpperName(); in writeImplicitCtorArgs()
616 OS << " Record.push_back(SA->is" << getUpperName() << "Expr());\n"; in writePCHWrite()
617 OS << " if (SA->is" << getUpperName() << "Expr())\n"; in writePCHWrite()
618 OS << " Record.AddStmt(SA->get" << getUpperName() << "Expr());\n"; in writePCHWrite()
620 OS << " Record.AddTypeSourceInfo(SA->get" << getUpperName() in writePCHWrite()
637 OS << " if (!SA->is" << getUpperName() << "Expr())\n"; in writeDump()
638 OS << " dumpType(SA->get" << getUpperName() in writeDump()
643 OS << " if (SA->is" << getUpperName() << "Expr())\n"; in writeDumpChildren()
644 OS << " Visit(SA->get" << getUpperName() << "Expr());\n"; in writeDumpChildren()
648 OS << "SA->is" << getUpperName() << "Expr()"; in writeHasChildren()
699 OS << " void set" << getUpperName() << "(ASTContext &Ctx, "; in writeSetter()
702 OS << " " << ArgSizeName << " = " << getUpperName() << "Size;\n"; in writeSetter()
725 OS << " std::copy(" << getUpperName() << ", " << getUpperName() << " + " in writeCtorBody()
730 OS << ArgSizeName << "(" << getUpperName() << "Size), " in writeCtorInitializers()
740 OS << getType() << " *" << getUpperName() << ", unsigned " in writeCtorParameters()
741 << getUpperName() << "Size"; in writeCtorParameters()
745 OS << getUpperName() << ", " << getUpperName() << "Size"; in writeImplicitCtorArgs()
858 OS << " " << type << " get" << getUpperName() << "() const {\n"; in writeAccessors()
868 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
871 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
877 OS << type << " " << getUpperName(); in writeCtorParameters()
905 OS << "Record.push_back(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
913 << getUpperName() << "()) << \"\\\""; in writeValue()
917 OS << " switch(SA->get" << getUpperName() << "()) {\n"; in writeDump()
1092 OS << " VersionTuple get" << getUpperName() << "() const {\n"; in writeAccessors()
1095 OS << " void set" << getUpperName() in writeAccessors()
1102 OS << "get" << getUpperName() << "()"; in writeCloneArgs()
1106 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
1110 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
1118 OS << "VersionTuple " << getUpperName(); in writeCtorParameters()
1135 OS << " Record.AddVersionTuple(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
1139 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; in writeValue()
1143 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
1155 << "getDerived().TraverseStmt(A->get" << getUpperName() << "()))\n"; in writeASTVisitorTraversal()
1160 OS << "tempInst" << getUpperName(); in writeTemplateInstantiationArgs()
1164 OS << " " << getType() << " tempInst" << getUpperName() << ";\n"; in writeTemplateInstantiation()
1169 << "A->get" << getUpperName() << "(), TemplateArgs);\n"; in writeTemplateInstantiation()
1172 OS << " tempInst" << getUpperName() << " = Result.get();\n"; in writeTemplateInstantiation()
1179 OS << " Visit(SA->get" << getUpperName() << "());\n"; in writeDumpChildren()
1208 OS << "tempInst" << getUpperName() << ", " in writeTemplateInstantiationArgs()
1213 OS << " auto *tempInst" << getUpperName() in writeTemplateInstantiation()
1219 OS << " " << getType() << " *TI = tempInst" << getUpperName() in writeTemplateInstantiation()
1265 " StringRef Ref = " << getUpperName() << "[I];\n" in writeCtorBody()
1286 OS << " QualType get" << getUpperName() << "() const {\n"; in writeAccessors()
1289 OS << " " << getType() << " get" << getUpperName() << "Loc() const {\n"; in writeAccessors()
1295 OS << " if (auto *TSI = A->get" << getUpperName() << "Loc())\n"; in writeASTVisitorTraversal()
1301 OS << " " << getType() << " tempInst" << getUpperName() << " =\n"; in writeTemplateInstantiation()
1302 OS << " S.SubstType(A->get" << getUpperName() << "Loc(), " in writeTemplateInstantiation()
1304 OS << " if (!tempInst" << getUpperName() << ")\n"; in writeTemplateInstantiation()
1309 OS << "tempInst" << getUpperName(); in writeTemplateInstantiationArgs()
1315 "SA->get" + std::string(getUpperName()) + "Loc()"); in writePCHWrite()