Lines Matching refs:getLowerName
219 StringRef getLowerName() const { return lowerName; } in getLowerName() function in __anona61259f60211::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()
841 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
846 OS << getLowerName(); in writeCloneArgs()
853 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
856 OS << getLowerName() << "(" << type << "(0))"; in writeCtorDefaultInitializers()
873 OS << " " << type << " " << getLowerName() << ";"; in writeDeclarations()
877 OS << " " << getAttrName() << "Attr::" << type << " " << getLowerName() in writePCHReadDecls()
883 OS << getLowerName(); in writePCHReadArgs()
996 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writeDump()
997 << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->" in writeDump()
998 << getLowerName() << "_end(); I != E; ++I) {\n"; in writeDump()
1010 OS << " unsigned " << getLowerName() << "Size = Record.readInt();\n"; in writePCHReadDecls()
1011 OS << " SmallVector<" << QualifiedTypeName << ", 4> " << getLowerName() in writePCHReadDecls()
1013 OS << " " << getLowerName() << ".reserve(" << getLowerName() in writePCHReadDecls()
1015 OS << " for (unsigned i = " << getLowerName() << "Size; i; --i)\n"; in writePCHReadDecls()
1016 OS << " " << getLowerName() << ".push_back(" << "static_cast<" in writePCHReadDecls()
1021 OS << " Record.push_back(SA->" << getLowerName() << "_size());\n"; in writePCHWrite()
1022 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writePCHWrite()
1023 << "_iterator i = SA->" << getLowerName() << "_begin(), e = SA->" in writePCHWrite()
1024 << getLowerName() << "_end(); i != e; ++i)\n"; in writePCHWrite()
1075 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
1079 OS << " " << getLowerName() << " = V;\n"; in writeAccessors()
1092 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
1096 OS << getLowerName() << "()"; in writeCtorDefaultInitializers()
1104 OS << "VersionTuple " << getLowerName() << ";\n"; in writeDeclarations()
1108 OS << " VersionTuple " << getLowerName() in writePCHReadDecls()
1113 OS << getLowerName(); in writePCHReadArgs()
1121 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; in writeValue()
1174 OS << " " << getType() << " *I = A->" << getLowerName() in writeASTVisitorTraversal()
1176 OS << " " << getType() << " *E = A->" << getLowerName() in writeASTVisitorTraversal()
1187 << "A->" << getLowerName() << "_size()"; in writeTemplateInstantiationArgs()
1193 << "[A->" << getLowerName() << "_size()];\n"; in writeTemplateInstantiation()
1199 OS << " " << getType() << " *I = A->" << getLowerName() in writeTemplateInstantiation()
1201 OS << " " << getType() << " *E = A->" << getLowerName() in writeTemplateInstantiation()
1213 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writeDumpChildren()
1214 << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->" in writeDumpChildren()
1215 << getLowerName() << "_end(); I != E; ++I)\n"; in writeDumpChildren()
1220 OS << "SA->" << getLowerName() << "_begin() != " in writeHasChildren()
1221 << "SA->" << getLowerName() << "_end()"; in writeHasChildren()
1263 OS << " return " << getLowerName() << "->getType();\n"; in writeAccessors()
1266 OS << " return " << getLowerName() << ";\n"; in writeAccessors()