Lines Matching refs:getLowerName

219     StringRef getLowerName() const { return lowerName; }  in getLowerName()  function in __anon9498d9790211::Argument
270 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
275 OS << getLowerName(); in writeCloneArgs()
283 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
287 OS << getLowerName() << "()"; in writeCtorDefaultInitializers()
295 OS << type << " " << getLowerName() << ";"; in writeDeclarations()
300 OS << " " << type << " " << getLowerName() << " = " << read << ";\n"; in writePCHReadDecls()
304 OS << getLowerName(); in writePCHReadArgs()
404 OS << " return llvm::StringRef(" << getLowerName() << ", " in writeAccessors()
405 << getLowerName() << "Length);\n"; in writeAccessors()
408 OS << " return " << getLowerName() << "Length;\n"; in writeAccessors()
412 OS << " " << getLowerName() << "Length = S.size();\n"; in writeAccessors()
413 OS << " this->" << getLowerName() << " = new (C, 1) char [" in writeAccessors()
414 << getLowerName() << "Length];\n"; in writeAccessors()
416 OS << " std::memcpy(this->" << getLowerName() << ", S.data(), " in writeAccessors()
417 << getLowerName() << "Length);\n"; in writeAccessors()
431 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() in writeCtorBody()
432 << ".data(), " << getLowerName() << "Length);\n"; in writeCtorBody()
436 OS << getLowerName() << "Length(" << getUpperName() << ".size())," in writeCtorInitializers()
437 << getLowerName() << "(new (Ctx, 1) char[" << getLowerName() in writeCtorInitializers()
442 OS << getLowerName() << "Length(0)," << getLowerName() << "(nullptr)"; in writeCtorDefaultInitializers()
450 OS << "unsigned " << getLowerName() << "Length;\n"; in writeDeclarations()
451 OS << "char *" << getLowerName() << ";"; in writeDeclarations()
455 OS << " std::string " << getLowerName() in writePCHReadDecls()
460 OS << getLowerName(); in writePCHReadArgs()
490 OS << " return is" << getLowerName() << "Expr;\n"; in writeAccessors()
494 OS << " assert(is" << getLowerName() << "Expr);\n"; in writeAccessors()
495 OS << " return " << getLowerName() << "Expr;\n"; in writeAccessors()
499 OS << " assert(!is" << getLowerName() << "Expr);\n"; in writeAccessors()
500 OS << " return " << getLowerName() << "Type;\n"; in writeAccessors()
507 OS << " if (is" << getLowerName() << "Expr)\n"; in writeAccessorDefinitions()
508 OS << " return " << getLowerName() << "Expr && (" << getLowerName() in writeAccessorDefinitions()
509 << "Expr->isValueDependent() || " << getLowerName() in writeAccessorDefinitions()
512 OS << " return " << getLowerName() in writeAccessorDefinitions()
518 OS << " if (is" << getLowerName() << "Expr)\n"; in writeAccessorDefinitions()
519 OS << " return " << getLowerName() << "Expr && " << getLowerName() in writeAccessorDefinitions()
521 OS << " return " << getLowerName() in writeAccessorDefinitions()
531 OS << " if (is" << getLowerName() << "Expr)\n"; in writeAccessorDefinitions()
532 OS << " return " << getLowerName() << "Expr ? " << getLowerName() in writeAccessorDefinitions()
553 OS << "is" << getLowerName() << "Expr, is" << getLowerName() in writeCloneArgs()
554 << "Expr ? static_cast<void*>(" << getLowerName() in writeCloneArgs()
555 << "Expr) : " << getLowerName() in writeCloneArgs()
565 OS << " if (is" << getLowerName() << "Expr)\n"; in writeCtorBody()
566 OS << " " << getLowerName() << "Expr = reinterpret_cast<Expr *>(" in writeCtorBody()
569 OS << " " << getLowerName() in writeCtorBody()
575 OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)"; in writeCtorInitializers()
579 OS << "is" << getLowerName() << "Expr(false)"; in writeCtorDefaultInitializers()
591 OS << "bool is" << getLowerName() << "Expr;\n"; in writeDeclarations()
593 OS << "Expr *" << getLowerName() << "Expr;\n"; in writeDeclarations()
594 OS << "TypeSourceInfo *" << getLowerName() << "Type;\n"; in writeDeclarations()
599 OS << "is" << getLowerName() << "Expr, " << getLowerName() << "Ptr"; in writePCHReadArgs()
603 OS << " bool is" << getLowerName() << "Expr = Record.readInt();\n"; in writePCHReadDecls()
604 OS << " void *" << getLowerName() << "Ptr;\n"; in writePCHReadDecls()
605 OS << " if (is" << getLowerName() << "Expr)\n"; in writePCHReadDecls()
606 OS << " " << getLowerName() << "Ptr = Record.readExpr();\n"; in writePCHReadDecls()
608 OS << " " << getLowerName() in writePCHReadDecls()
622 return "!is" + getLowerName().str() + "Expr || !" + getLowerName().str() in getIsOmitted()
628 OS << " " << getLowerName() in writeValue()
665 ArgName(getLowerName().str() + "_"), ArgSizeName(ArgName + "Size"), in VariadicArgument()
666 RangeName(std::string(getLowerName())) {} in VariadicArgument()
674 std::string IteratorType = getLowerName().str() + "_iterator"; in writeAccessors()
675 std::string BeginFn = getLowerName().str() + "_begin()"; in writeAccessors()
676 std::string EndFn = getLowerName().str() + "_end()"; in writeAccessors()
683 OS << " unsigned " << getLowerName() << "_size() const {" in writeAccessors()
696 OS << "A->" << getLowerName() << "_begin(), " in writeTemplateInstantiationArgs()
697 << "A->" << getLowerName() << "_size()"; in writeTemplateInstantiationArgs()
734 OS << " unsigned " << getLowerName() << "Size = Record.readInt();\n"; in writePCHReadDecls()
736 << getLowerName() << ";\n"; in writePCHReadDecls()
737 OS << " " << getLowerName() << ".reserve(" << getLowerName() in writePCHReadDecls()
744 std::string StorageName = std::string(getLowerName()); in writePCHReadDecls()
749 OS << " " << StorageName << ".reserve(" << getLowerName() in writePCHReadDecls()
753 OS << " for (unsigned i = 0; i != " << getLowerName() << "Size; ++i)\n"; in writePCHReadDecls()
758 OS << " for (unsigned i = 0; i != " << getLowerName() << "Size; ++i)\n"; in writePCHReadDecls()
759 OS << " " << getLowerName() << ".push_back(" in writePCHReadDecls()
765 OS << getLowerName() << ".data(), " << getLowerName() << "Size"; in writePCHReadArgs()
769 OS << " Record.push_back(SA->" << getLowerName() << "_size());\n"; in writePCHWrite()
839 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
844 OS << getLowerName(); in writeCloneArgs()
851 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
854 OS << getLowerName() << "(" << type << "(0))"; in writeCtorDefaultInitializers()
871 OS << " " << type << " " << getLowerName() << ";"; in writeDeclarations()
875 OS << " " << getAttrName() << "Attr::" << type << " " << getLowerName() in writePCHReadDecls()
881 OS << getLowerName(); in writePCHReadArgs()
994 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writeDump()
995 << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->" in writeDump()
996 << getLowerName() << "_end(); I != E; ++I) {\n"; in writeDump()
1008 OS << " unsigned " << getLowerName() << "Size = Record.readInt();\n"; in writePCHReadDecls()
1009 OS << " SmallVector<" << QualifiedTypeName << ", 4> " << getLowerName() in writePCHReadDecls()
1011 OS << " " << getLowerName() << ".reserve(" << getLowerName() in writePCHReadDecls()
1013 OS << " for (unsigned i = " << getLowerName() << "Size; i; --i)\n"; in writePCHReadDecls()
1014 OS << " " << getLowerName() << ".push_back(" << "static_cast<" in writePCHReadDecls()
1019 OS << " Record.push_back(SA->" << getLowerName() << "_size());\n"; in writePCHWrite()
1020 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writePCHWrite()
1021 << "_iterator i = SA->" << getLowerName() << "_begin(), e = SA->" in writePCHWrite()
1022 << getLowerName() << "_end(); i != e; ++i)\n"; in writePCHWrite()
1073 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
1077 OS << " " << getLowerName() << " = V;\n"; in writeAccessors()
1090 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
1094 OS << getLowerName() << "()"; in writeCtorDefaultInitializers()
1102 OS << "VersionTuple " << getLowerName() << ";\n"; in writeDeclarations()
1106 OS << " VersionTuple " << getLowerName() in writePCHReadDecls()
1111 OS << getLowerName(); in writePCHReadArgs()
1119 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; in writeValue()
1173 OS << " " << getType() << " *I = A->" << getLowerName() in writeASTVisitorTraversal()
1175 OS << " " << getType() << " *E = A->" << getLowerName() in writeASTVisitorTraversal()
1186 << "A->" << getLowerName() << "_size()"; in writeTemplateInstantiationArgs()
1192 << "[A->" << getLowerName() << "_size()];\n"; in writeTemplateInstantiation()
1198 OS << " " << getType() << " *I = A->" << getLowerName() in writeTemplateInstantiation()
1200 OS << " " << getType() << " *E = A->" << getLowerName() in writeTemplateInstantiation()
1214 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writeDumpChildren()
1215 << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->" in writeDumpChildren()
1216 << getLowerName() << "_end(); I != E; ++I)\n"; in writeDumpChildren()
1221 OS << "SA->" << getLowerName() << "_begin() != " in writeHasChildren()
1222 << "SA->" << getLowerName() << "_end()"; in writeHasChildren()
1264 OS << " return " << getLowerName() << "->getType();\n"; in writeAccessors()
1267 OS << " return " << getLowerName() << ";\n"; in writeAccessors()