Lines Matching refs:getUpperName

220     StringRef getUpperName() const { return upperName; }  in getUpperName()  function in __anon55fc22f70211::Argument
255 OS << getUpperName(); in writeImplicitCtorArgs()
269 OS << " " << type << " get" << getUpperName() << "() const {\n"; in writeAccessors()
279 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
283 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
291 OS << type << " " << getUpperName(); in writeCtorParameters()
310 "SA->get" + std::string(getUpperName()) + "()"); in writePCHWrite()
315 return "!get" + getUpperName().str() + "()"; in getIsOmitted()
317 return "!get" + getUpperName().str() + "Loc()"; in getIsOmitted()
319 return "!get" + getUpperName().str() + "().isValid()"; in getIsOmitted()
325 OS << "\" << get" << getUpperName() in writeValue()
330 OS << "\" << (get" << getUpperName() << "() ? get" << getUpperName() in writeValue()
333 OS << "\" << get" << getUpperName() << "()->getName() << \""; in writeValue()
335 OS << "\" << get" << getUpperName() << "().getAsString() << \""; in writeValue()
337 OS << "\" << get" << getUpperName() << "().getSourceIndex() << \""; in writeValue()
339 OS << "\" << get" << getUpperName() << "() << \""; in writeValue()
345 OS << " dumpBareDeclRef(SA->get" << getUpperName() << "());\n"; in writeDump()
349 OS << " if (SA->get" << getUpperName() << "())\n" in writeDump()
350 << " OS << \" \" << SA->get" << getUpperName() in writeDump()
354 OS << " if (SA->get" << getUpperName() << "Loc())"; in writeDump()
355 OS << " OS << \" \" << SA->get" << getUpperName() in writeDump()
358 OS << " if (SA->get" << getUpperName() << "()) OS << \" " in writeDump()
359 << getUpperName() << "\";\n"; in writeDump()
361 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
364 OS << " if (SA->get" << getUpperName() << "().isValid())\n "; in writeDump()
365 OS << " OS << \" \" << SA->get" << getUpperName() in writeDump()
368 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
386 OS << "\n\n static const " << getType() << " Default" << getUpperName() in writeAccessors()
403 OS << " llvm::StringRef get" << getUpperName() << "() const {\n"; in writeAccessors()
407 OS << " unsigned get" << getUpperName() << "Length() const {\n"; in writeAccessors()
410 OS << " void set" << getUpperName() in writeAccessors()
422 OS << "get" << getUpperName() << "()"; in writeCloneArgs()
426 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
430 OS << " if (!" << getUpperName() << ".empty())\n"; in writeCtorBody()
431 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() in writeCtorBody()
436 OS << getLowerName() << "Length(" << getUpperName() << ".size())," in writeCtorInitializers()
446 OS << "llvm::StringRef " << getUpperName(); in writeCtorParameters()
464 OS << " Record.AddString(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
468 OS << "\\\"\" << get" << getUpperName() << "() << \"\\\""; in writeValue()
472 OS << " OS << \" \\\"\" << SA->get" << getUpperName() in writeDump()
484 OS << " bool is" << getUpperName() << "Dependent() const;\n"; in writeAccessors()
485 OS << " bool is" << getUpperName() << "ErrorDependent() const;\n"; in writeAccessors()
487 OS << " unsigned get" << getUpperName() << "(ASTContext &Ctx) const;\n"; in writeAccessors()
489 OS << " bool is" << getUpperName() << "Expr() const {\n"; in writeAccessors()
493 OS << " Expr *get" << getUpperName() << "Expr() const {\n"; in writeAccessors()
498 OS << " TypeSourceInfo *get" << getUpperName() << "Type() const {\n"; in writeAccessors()
505 OS << "bool " << getAttrName() << "Attr::is" << getUpperName() in writeAccessorDefinitions()
516 OS << "bool " << getAttrName() << "Attr::is" << getUpperName() in writeAccessorDefinitions()
528 OS << "unsigned " << getAttrName() << "Attr::get" << getUpperName() in writeAccessorDefinitions()
530 OS << " assert(!is" << getUpperName() << "Dependent());\n"; in writeAccessorDefinitions()
542 StringRef Name = getUpperName(); in writeASTVisitorTraversal()
567 << getUpperName() << ");\n"; in writeCtorBody()
570 << "Type = reinterpret_cast<TypeSourceInfo *>(" << getUpperName() in writeCtorBody()
575 OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)"; in writeCtorInitializers()
583 OS << "bool Is" << getUpperName() << "Expr, void *" << getUpperName(); in writeCtorParameters()
587 OS << "Is" << getUpperName() << "Expr, " << getUpperName(); in writeImplicitCtorArgs()
613 OS << " Record.push_back(SA->is" << getUpperName() << "Expr());\n"; in writePCHWrite()
614 OS << " if (SA->is" << getUpperName() << "Expr())\n"; in writePCHWrite()
615 OS << " Record.AddStmt(SA->get" << getUpperName() << "Expr());\n"; in writePCHWrite()
617 OS << " Record.AddTypeSourceInfo(SA->get" << getUpperName() in writePCHWrite()
634 OS << " if (!SA->is" << getUpperName() << "Expr())\n"; in writeDump()
635 OS << " dumpType(SA->get" << getUpperName() in writeDump()
640 OS << " if (SA->is" << getUpperName() << "Expr())\n"; in writeDumpChildren()
641 OS << " Visit(SA->get" << getUpperName() << "Expr());\n"; in writeDumpChildren()
645 OS << "SA->is" << getUpperName() << "Expr()"; in writeHasChildren()
705 OS << " std::copy(" << getUpperName() << ", " << getUpperName() << " + " in writeCtorBody()
710 OS << ArgSizeName << "(" << getUpperName() << "Size), " in writeCtorInitializers()
720 OS << getType() << " *" << getUpperName() << ", unsigned " in writeCtorParameters()
721 << getUpperName() << "Size"; in writeCtorParameters()
725 OS << getUpperName() << ", " << getUpperName() << "Size"; in writeImplicitCtorArgs()
840 OS << " " << type << " get" << getUpperName() << "() const {\n"; in writeAccessors()
850 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
853 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
859 OS << type << " " << getUpperName(); in writeCtorParameters()
887 OS << "Record.push_back(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
895 << getUpperName() << "()) << \"\\\""; in writeValue()
899 OS << " switch(SA->get" << getUpperName() << "()) {\n"; in writeDump()
1074 OS << " VersionTuple get" << getUpperName() << "() const {\n"; in writeAccessors()
1077 OS << " void set" << getUpperName() in writeAccessors()
1084 OS << "get" << getUpperName() << "()"; in writeCloneArgs()
1088 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
1092 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
1100 OS << "VersionTuple " << getUpperName(); in writeCtorParameters()
1117 OS << " Record.AddVersionTuple(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
1121 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; in writeValue()
1125 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
1137 << "getDerived().TraverseStmt(A->get" << getUpperName() << "()))\n"; in writeASTVisitorTraversal()
1142 OS << "tempInst" << getUpperName(); in writeTemplateInstantiationArgs()
1146 OS << " " << getType() << " tempInst" << getUpperName() << ";\n"; in writeTemplateInstantiation()
1151 << "A->get" << getUpperName() << "(), TemplateArgs);\n"; in writeTemplateInstantiation()
1154 OS << " tempInst" << getUpperName() << " = Result.get();\n"; in writeTemplateInstantiation()
1161 OS << " Visit(SA->get" << getUpperName() << "());\n"; in writeDumpChildren()
1187 OS << "tempInst" << getUpperName() << ", " in writeTemplateInstantiationArgs()
1192 OS << " auto *tempInst" << getUpperName() in writeTemplateInstantiation()
1198 OS << " " << getType() << " *TI = tempInst" << getUpperName() in writeTemplateInstantiation()
1244 " StringRef Ref = " << getUpperName() << "[I];\n" in writeCtorBody()
1265 OS << " QualType get" << getUpperName() << "() const {\n"; in writeAccessors()
1268 OS << " " << getType() << " get" << getUpperName() << "Loc() const {\n"; in writeAccessors()
1274 OS << " if (auto *TSI = A->get" << getUpperName() << "Loc())\n"; in writeASTVisitorTraversal()
1280 OS << " " << getType() << " tempInst" << getUpperName() << " =\n"; in writeTemplateInstantiation()
1281 OS << " S.SubstType(A->get" << getUpperName() << "Loc(), " in writeTemplateInstantiation()
1283 OS << " if (!tempInst" << getUpperName() << ")\n"; in writeTemplateInstantiation()
1288 OS << "tempInst" << getUpperName(); in writeTemplateInstantiationArgs()
1294 "SA->get" + std::string(getUpperName()) + "Loc()"); in writePCHWrite()