Lines Matching refs:getLowerName
222 StringRef getLowerName() const { return lowerName; } in getLowerName() function in __anon2ca3fa2f0211::Argument
273 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
278 OS << getLowerName(); in writeCloneArgs()
286 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
290 OS << getLowerName() << "()"; in writeCtorDefaultInitializers()
298 OS << type << " " << getLowerName() << ";"; in writeDeclarations()
303 OS << " " << type << " " << getLowerName() << " = " << read << ";\n"; in writePCHReadDecls()
307 OS << getLowerName(); in writePCHReadArgs()
407 OS << " return llvm::StringRef(" << getLowerName() << ", " in writeAccessors()
408 << getLowerName() << "Length);\n"; in writeAccessors()
411 OS << " return " << getLowerName() << "Length;\n"; in writeAccessors()
415 OS << " " << getLowerName() << "Length = S.size();\n"; in writeAccessors()
416 OS << " this->" << getLowerName() << " = new (C, 1) char [" in writeAccessors()
417 << getLowerName() << "Length];\n"; in writeAccessors()
419 OS << " std::memcpy(this->" << getLowerName() << ", S.data(), " in writeAccessors()
420 << getLowerName() << "Length);\n"; in writeAccessors()
434 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() in writeCtorBody()
435 << ".data(), " << getLowerName() << "Length);\n"; in writeCtorBody()
439 OS << getLowerName() << "Length(" << getUpperName() << ".size())," in writeCtorInitializers()
440 << getLowerName() << "(new (Ctx, 1) char[" << getLowerName() in writeCtorInitializers()
445 OS << getLowerName() << "Length(0)," << getLowerName() << "(nullptr)"; in writeCtorDefaultInitializers()
453 OS << "unsigned " << getLowerName() << "Length;\n"; in writeDeclarations()
454 OS << "char *" << getLowerName() << ";"; in writeDeclarations()
458 OS << " std::string " << getLowerName() in writePCHReadDecls()
463 OS << getLowerName(); in writePCHReadArgs()
493 OS << " return is" << getLowerName() << "Expr;\n"; in writeAccessors()
497 OS << " assert(is" << getLowerName() << "Expr);\n"; in writeAccessors()
498 OS << " return " << getLowerName() << "Expr;\n"; in writeAccessors()
502 OS << " assert(!is" << getLowerName() << "Expr);\n"; in writeAccessors()
503 OS << " return " << getLowerName() << "Type;\n"; in writeAccessors()
510 OS << " if (is" << getLowerName() << "Expr)\n"; in writeAccessorDefinitions()
511 OS << " return " << getLowerName() << "Expr && (" << getLowerName() in writeAccessorDefinitions()
512 << "Expr->isValueDependent() || " << getLowerName() in writeAccessorDefinitions()
515 OS << " return " << getLowerName() in writeAccessorDefinitions()
521 OS << " if (is" << getLowerName() << "Expr)\n"; in writeAccessorDefinitions()
522 OS << " return " << getLowerName() << "Expr && " << getLowerName() in writeAccessorDefinitions()
524 OS << " return " << getLowerName() in writeAccessorDefinitions()
534 OS << " if (is" << getLowerName() << "Expr)\n"; in writeAccessorDefinitions()
535 OS << " return " << getLowerName() << "Expr ? " << getLowerName() in writeAccessorDefinitions()
556 OS << "is" << getLowerName() << "Expr, is" << getLowerName() in writeCloneArgs()
557 << "Expr ? static_cast<void*>(" << getLowerName() in writeCloneArgs()
558 << "Expr) : " << getLowerName() in writeCloneArgs()
568 OS << " if (is" << getLowerName() << "Expr)\n"; in writeCtorBody()
569 OS << " " << getLowerName() << "Expr = reinterpret_cast<Expr *>(" in writeCtorBody()
572 OS << " " << getLowerName() in writeCtorBody()
578 OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)"; in writeCtorInitializers()
582 OS << "is" << getLowerName() << "Expr(false)"; in writeCtorDefaultInitializers()
594 OS << "bool is" << getLowerName() << "Expr;\n"; in writeDeclarations()
596 OS << "Expr *" << getLowerName() << "Expr;\n"; in writeDeclarations()
597 OS << "TypeSourceInfo *" << getLowerName() << "Type;\n"; in writeDeclarations()
602 OS << "is" << getLowerName() << "Expr, " << getLowerName() << "Ptr"; in writePCHReadArgs()
606 OS << " bool is" << getLowerName() << "Expr = Record.readInt();\n"; in writePCHReadDecls()
607 OS << " void *" << getLowerName() << "Ptr;\n"; in writePCHReadDecls()
608 OS << " if (is" << getLowerName() << "Expr)\n"; in writePCHReadDecls()
609 OS << " " << getLowerName() << "Ptr = Record.readExpr();\n"; in writePCHReadDecls()
611 OS << " " << getLowerName() in writePCHReadDecls()
625 return "!is" + getLowerName().str() + "Expr || !" + getLowerName().str() in getIsOmitted()
631 OS << " " << getLowerName() in writeValue()
668 ArgName(getLowerName().str() + "_"), ArgSizeName(ArgName + "Size"), in VariadicArgument()
669 RangeName(std::string(getLowerName())) {} in VariadicArgument()
673 ArgName(getLowerName().str() + "_"), ArgSizeName(ArgName + "Size"), in VariadicArgument()
674 RangeName(std::string(getLowerName())) {} in VariadicArgument()
682 std::string IteratorType = getLowerName().str() + "_iterator"; in writeAccessors()
683 std::string BeginFn = getLowerName().str() + "_begin()"; in writeAccessors()
684 std::string EndFn = getLowerName().str() + "_end()"; in writeAccessors()
691 OS << " unsigned " << getLowerName() << "_size() const {" in writeAccessors()
716 OS << "A->" << getLowerName() << "_begin(), " in writeTemplateInstantiationArgs()
717 << "A->" << getLowerName() << "_size()"; in writeTemplateInstantiationArgs()
754 OS << " unsigned " << getLowerName() << "Size = Record.readInt();\n"; in writePCHReadDecls()
756 << getLowerName() << ";\n"; in writePCHReadDecls()
757 OS << " " << getLowerName() << ".reserve(" << getLowerName() in writePCHReadDecls()
764 std::string StorageName = std::string(getLowerName()); in writePCHReadDecls()
769 OS << " " << StorageName << ".reserve(" << getLowerName() in writePCHReadDecls()
773 OS << " for (unsigned i = 0; i != " << getLowerName() << "Size; ++i)\n"; in writePCHReadDecls()
778 OS << " for (unsigned i = 0; i != " << getLowerName() << "Size; ++i)\n"; in writePCHReadDecls()
779 OS << " " << getLowerName() << ".push_back(" in writePCHReadDecls()
785 OS << getLowerName() << ".data(), " << getLowerName() << "Size"; in writePCHReadArgs()
789 OS << " Record.push_back(SA->" << getLowerName() << "_size());\n"; in writePCHWrite()
859 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
864 OS << getLowerName(); in writeCloneArgs()
871 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
874 OS << getLowerName() << "(" << type << "(0))"; in writeCtorDefaultInitializers()
891 OS << " " << type << " " << getLowerName() << ";"; in writeDeclarations()
895 OS << " " << getAttrName() << "Attr::" << type << " " << getLowerName() in writePCHReadDecls()
901 OS << getLowerName(); in writePCHReadArgs()
1014 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writeDump()
1015 << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->" in writeDump()
1016 << getLowerName() << "_end(); I != E; ++I) {\n"; in writeDump()
1028 OS << " unsigned " << getLowerName() << "Size = Record.readInt();\n"; in writePCHReadDecls()
1029 OS << " SmallVector<" << QualifiedTypeName << ", 4> " << getLowerName() in writePCHReadDecls()
1031 OS << " " << getLowerName() << ".reserve(" << getLowerName() in writePCHReadDecls()
1033 OS << " for (unsigned i = " << getLowerName() << "Size; i; --i)\n"; in writePCHReadDecls()
1034 OS << " " << getLowerName() << ".push_back(" << "static_cast<" in writePCHReadDecls()
1039 OS << " Record.push_back(SA->" << getLowerName() << "_size());\n"; in writePCHWrite()
1040 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writePCHWrite()
1041 << "_iterator i = SA->" << getLowerName() << "_begin(), e = SA->" in writePCHWrite()
1042 << getLowerName() << "_end(); i != e; ++i)\n"; in writePCHWrite()
1093 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
1097 OS << " " << getLowerName() << " = V;\n"; in writeAccessors()
1110 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
1114 OS << getLowerName() << "()"; in writeCtorDefaultInitializers()
1122 OS << "VersionTuple " << getLowerName() << ";\n"; in writeDeclarations()
1126 OS << " VersionTuple " << getLowerName() in writePCHReadDecls()
1131 OS << getLowerName(); in writePCHReadArgs()
1139 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; in writeValue()
1196 OS << " " << getType() << " *I = A->" << getLowerName() in writeASTVisitorTraversal()
1198 OS << " " << getType() << " *E = A->" << getLowerName() in writeASTVisitorTraversal()
1209 << "A->" << getLowerName() << "_size()"; in writeTemplateInstantiationArgs()
1215 << "[A->" << getLowerName() << "_size()];\n"; in writeTemplateInstantiation()
1221 OS << " " << getType() << " *I = A->" << getLowerName() in writeTemplateInstantiation()
1223 OS << " " << getType() << " *E = A->" << getLowerName() in writeTemplateInstantiation()
1237 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writeDumpChildren()
1238 << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->" in writeDumpChildren()
1239 << getLowerName() << "_end(); I != E; ++I)\n"; in writeDumpChildren()
1244 OS << "SA->" << getLowerName() << "_begin() != " in writeHasChildren()
1245 << "SA->" << getLowerName() << "_end()"; in writeHasChildren()
1287 OS << " return " << getLowerName() << "->getType();\n"; in writeAccessors()
1290 OS << " return " << getLowerName() << ";\n"; in writeAccessors()