Lines Matching refs:getUpperName

230     StringRef getUpperName() const { return upperName; }  in getUpperName()  function in __anone44e3aff0211::Argument
265 OS << getUpperName(); in writeImplicitCtorArgs()
279 OS << " " << type << " get" << getUpperName() << "() const {\n"; in writeAccessors()
289 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
293 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
301 OS << type << " " << getUpperName(); in writeCtorParameters()
320 "SA->get" + std::string(getUpperName()) + "()"); in writePCHWrite()
329 return "!get" + getUpperName().str() + "()"; in getIsOmitted()
331 return "!get" + getUpperName().str() + "Loc()"; in getIsOmitted()
333 return "!get" + getUpperName().str() + "().isValid()"; in getIsOmitted()
342 OS << "\" << get" << getUpperName() in writeValue()
347 OS << "\" << (get" << getUpperName() << "() ? get" << getUpperName() in writeValue()
350 OS << "\" << get" << getUpperName() << "()->getName() << \""; in writeValue()
352 OS << "\" << get" << getUpperName() << "().getAsString() << \""; in writeValue()
354 OS << "\" << get" << getUpperName() << "().getSourceIndex() << \""; in writeValue()
356 OS << "\" << get" << getUpperName() << "() << \""; in writeValue()
362 OS << " dumpBareDeclRef(SA->get" << getUpperName() << "());\n"; in writeDump()
366 OS << " if (SA->get" << getUpperName() << "())\n" in writeDump()
367 << " OS << \" \" << SA->get" << getUpperName() in writeDump()
371 OS << " if (SA->get" << getUpperName() << "Loc())"; in writeDump()
372 OS << " OS << \" \" << SA->get" << getUpperName() in writeDump()
375 OS << " if (SA->get" << getUpperName() << "()) OS << \" " in writeDump()
376 << getUpperName() << "\";\n"; in writeDump()
378 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
381 OS << " if (SA->get" << getUpperName() << "().isValid())\n "; in writeDump()
382 OS << " OS << \" \" << SA->get" << getUpperName() in writeDump()
385 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
403 OS << "\n\n static const " << getType() << " Default" << getUpperName() in writeAccessors()
420 OS << " llvm::StringRef get" << getUpperName() << "() const {\n"; in writeAccessors()
424 OS << " unsigned get" << getUpperName() << "Length() const {\n"; in writeAccessors()
427 OS << " void set" << getUpperName() in writeAccessors()
439 OS << "get" << getUpperName() << "()"; in writeCloneArgs()
443 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
447 OS << " if (!" << getUpperName() << ".empty())\n"; in writeCtorBody()
448 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() in writeCtorBody()
453 OS << getLowerName() << "Length(" << getUpperName() << ".size())," in writeCtorInitializers()
463 OS << "llvm::StringRef " << getUpperName(); in writeCtorParameters()
481 OS << " Record.AddString(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
485 OS << "\\\"\" << get" << getUpperName() << "() << \"\\\""; in writeValue()
489 OS << " OS << \" \\\"\" << SA->get" << getUpperName() in writeDump()
501 OS << " bool is" << getUpperName() << "Dependent() const;\n"; in writeAccessors()
502 OS << " bool is" << getUpperName() << "ErrorDependent() const;\n"; in writeAccessors()
504 OS << " unsigned get" << getUpperName() << "(ASTContext &Ctx) const;\n"; in writeAccessors()
506 OS << " bool is" << getUpperName() << "Expr() const {\n"; in writeAccessors()
510 OS << " Expr *get" << getUpperName() << "Expr() const {\n"; in writeAccessors()
515 OS << " TypeSourceInfo *get" << getUpperName() << "Type() const {\n"; in writeAccessors()
520 OS << " std::optional<unsigned> getCached" << getUpperName() in writeAccessors()
525 OS << " void setCached" << getUpperName() in writeAccessors()
532 OS << "bool " << getAttrName() << "Attr::is" << getUpperName() in writeAccessorDefinitions()
543 OS << "bool " << getAttrName() << "Attr::is" << getUpperName() in writeAccessorDefinitions()
554 StringRef Name = getUpperName(); in writeASTVisitorTraversal()
579 << getUpperName() << ");\n"; in writeCtorBody()
582 << "Type = reinterpret_cast<TypeSourceInfo *>(" << getUpperName() in writeCtorBody()
587 OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)"; in writeCtorInitializers()
595 OS << "bool Is" << getUpperName() << "Expr, void *" << getUpperName(); in writeCtorParameters()
599 OS << "Is" << getUpperName() << "Expr, " << getUpperName(); in writeImplicitCtorArgs()
626 OS << " Record.push_back(SA->is" << getUpperName() << "Expr());\n"; in writePCHWrite()
627 OS << " if (SA->is" << getUpperName() << "Expr())\n"; in writePCHWrite()
628 OS << " Record.AddStmt(SA->get" << getUpperName() << "Expr());\n"; in writePCHWrite()
630 OS << " Record.AddTypeSourceInfo(SA->get" << getUpperName() in writePCHWrite()
654 OS << " if (!SA->is" << getUpperName() << "Expr())\n"; in writeDump()
655 OS << " dumpType(SA->get" << getUpperName() in writeDump()
660 OS << " if (SA->is" << getUpperName() << "Expr())\n"; in writeDumpChildren()
661 OS << " Visit(SA->get" << getUpperName() << "Expr());\n"; in writeDumpChildren()
665 OS << "SA->is" << getUpperName() << "Expr()"; in writeHasChildren()
716 OS << " void set" << getUpperName() << "(ASTContext &Ctx, "; in writeSetter()
719 OS << " " << ArgSizeName << " = " << getUpperName() << "Size;\n"; in writeSetter()
742 OS << " std::copy(" << getUpperName() << ", " << getUpperName() << " + " in writeCtorBody()
747 OS << ArgSizeName << "(" << getUpperName() << "Size), " in writeCtorInitializers()
757 OS << getType() << " *" << getUpperName() << ", unsigned " in writeCtorParameters()
758 << getUpperName() << "Size"; in writeCtorParameters()
762 OS << getUpperName() << ", " << getUpperName() << "Size"; in writeImplicitCtorArgs()
930 OS << " " << fullType << " get" << getUpperName() << "() const {\n"; in writeAccessors()
940 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
943 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
949 OS << fullType << " " << getUpperName(); in writeCtorParameters()
979 OS << "Record.push_back(static_cast<uint64_t>(SA->get" << getUpperName() in writePCHWrite()
988 << "ToStr(get" << getUpperName() << "()) << \"\\\""; in writeValue()
992 OS << " switch(SA->get" << getUpperName() << "()) {\n"; in writeDump()
1195 OS << " VersionTuple get" << getUpperName() << "() const {\n"; in writeAccessors()
1198 OS << " void set" << getUpperName() in writeAccessors()
1205 OS << "get" << getUpperName() << "()"; in writeCloneArgs()
1209 OS << "A->get" << getUpperName() << "()"; in writeTemplateInstantiationArgs()
1213 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
1221 OS << "VersionTuple " << getUpperName(); in writeCtorParameters()
1238 OS << " Record.AddVersionTuple(SA->get" << getUpperName() << "());\n"; in writePCHWrite()
1242 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; in writeValue()
1246 OS << " OS << \" \" << SA->get" << getUpperName() << "();\n"; in writeDump()
1258 << "getDerived().TraverseStmt(A->get" << getUpperName() << "()))\n"; in writeASTVisitorTraversal()
1263 OS << "tempInst" << getUpperName(); in writeTemplateInstantiationArgs()
1267 OS << " " << getType() << " tempInst" << getUpperName() << ";\n"; in writeTemplateInstantiation()
1272 << "A->get" << getUpperName() << "(), TemplateArgs);\n"; in writeTemplateInstantiation()
1275 OS << " tempInst" << getUpperName() << " = Result.get();\n"; in writeTemplateInstantiation()
1281 OS << " get" << getUpperName() in writeValue()
1289 OS << " Visit(SA->get" << getUpperName() << "());\n"; in writeDumpChildren()
1318 OS << "tempInst" << getUpperName() << ", " in writeTemplateInstantiationArgs()
1323 OS << " auto *tempInst" << getUpperName() in writeTemplateInstantiation()
1329 OS << " " << getType() << " *TI = tempInst" << getUpperName() in writeTemplateInstantiation()
1375 " StringRef Ref = " << getUpperName() << "[I];\n" in writeCtorBody()
1396 OS << " QualType get" << getUpperName() << "() const {\n"; in writeAccessors()
1399 OS << " " << getType() << " get" << getUpperName() << "Loc() const {\n"; in writeAccessors()
1405 OS << " if (auto *TSI = A->get" << getUpperName() << "Loc())\n"; in writeASTVisitorTraversal()
1411 OS << " " << getType() << " tempInst" << getUpperName() << " =\n"; in writeTemplateInstantiation()
1412 OS << " S.SubstType(A->get" << getUpperName() << "Loc(), " in writeTemplateInstantiation()
1414 OS << " if (!tempInst" << getUpperName() << ")\n"; in writeTemplateInstantiation()
1419 OS << "tempInst" << getUpperName(); in writeTemplateInstantiationArgs()
1425 "SA->get" + std::string(getUpperName()) + "Loc()"); in writePCHWrite()
1439 OS << " AddAttr(SA->get" << getUpperName() << "());"; in writePCHWrite()
1445 OS << " Visit(SA->get" << getUpperName() << "());\n"; in writeDumpChildren()