Lines Matching refs:back

554                 if (!db.template_param.back().empty())  in parse_template_param()
556 for (auto& t : db.template_param.back().front()) in parse_template_param()
579 if (sub < db.template_param.back().size()) in parse_template_param()
581 for (auto& temp : db.template_param.back()[sub]) in parse_template_param()
613 auto expr = db.names.back().move_full(); in parse_const_cast_expr()
615 db.names.back() = "const_cast<" + db.names.back().move_full() + ">(" + expr + ")"; in parse_const_cast_expr()
639 auto expr = db.names.back().move_full(); in parse_dynamic_cast_expr()
641 db.names.back() = "dynamic_cast<" + db.names.back().move_full() + ">(" + expr + ")"; in parse_dynamic_cast_expr()
665 auto expr = db.names.back().move_full(); in parse_reinterpret_cast_expr()
667 … db.names.back() = "reinterpret_cast<" + db.names.back().move_full() + ">(" + expr + ")"; in parse_reinterpret_cast_expr()
691 auto expr = db.names.back().move_full(); in parse_static_cast_expr()
693 db.names.back() = "static_cast<" + db.names.back().move_full() + ">(" + expr + ")"; in parse_static_cast_expr()
729 db.names.back() = "sizeof (" + db.names.back().move_full() + ")"; in parse_sizeof_type_expr()
749 db.names.back() = "sizeof (" + db.names.back().move_full() + ")"; in parse_sizeof_expr_expr()
842 db.names.back() = "sizeof...(" + db.names.back().move_full() + ")"; in parse_sizeof_function_param_pack_expr()
867 db.names.back() = "typeid(" + db.names.back().move_full() + ")"; in parse_typeid_expr()
887 db.names.back() = "throw " + db.names.back().move_full(); in parse_throw_expr()
910 auto expr = db.names.back().move_full(); in parse_dot_star_expr()
912 db.names.back().first += ".*" + expr; in parse_dot_star_expr()
936 auto args = db.names.back().move_full(); in parse_simple_id()
938 db.names.back().first += std::move(args); in parse_simple_id()
968 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_unresolved_type()
984 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_unresolved_type()
1001 db.names.back().first.insert(0, "std::"); in parse_unresolved_type()
1002 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_unresolved_type()
1029 db.names.back().first.insert(0, "~"); in parse_destructor_name()
1062 auto args = db.names.back().move_full(); in parse_base_unresolved_name()
1064 db.names.back().first += std::move(args); in parse_base_unresolved_name()
1088 auto args = db.names.back().move_full(); in parse_base_unresolved_name()
1090 db.names.back().first += std::move(args); in parse_base_unresolved_name()
1140 db.names.back().first.insert(0, "::"); in parse_unresolved_name()
1158 auto args = db.names.back().move_full(); in parse_unresolved_name()
1160 db.names.back().first += std::move(args); in parse_unresolved_name()
1173 auto s = db.names.back().move_full(); in parse_unresolved_name()
1175 db.names.back().first += "::" + std::move(s); in parse_unresolved_name()
1188 auto s = db.names.back().move_full(); in parse_unresolved_name()
1190 db.names.back().first += "::" + std::move(s); in parse_unresolved_name()
1205 auto args = db.names.back().move_full(); in parse_unresolved_name()
1207 db.names.back().first += std::move(args); in parse_unresolved_name()
1219 auto s = db.names.back().move_full(); in parse_unresolved_name()
1221 db.names.back().first += "::" + std::move(s); in parse_unresolved_name()
1234 db.names.back().first.insert(0, "::"); in parse_unresolved_name()
1241 auto s = db.names.back().move_full(); in parse_unresolved_name()
1243 db.names.back().first += "::" + std::move(s); in parse_unresolved_name()
1256 auto s = db.names.back().move_full(); in parse_unresolved_name()
1258 db.names.back().first += "::" + std::move(s); in parse_unresolved_name()
1283 auto name = db.names.back().move_full(); in parse_dot_expr()
1285 db.names.back().first += "." + name; in parse_dot_expr()
1308 db.names.back().first += db.names.back().second; in parse_call_expr()
1309 db.names.back().second = typename C::String(); in parse_call_expr()
1310 db.names.back().first.append("("); in parse_call_expr()
1319 auto tmp = db.names.back().move_full(); in parse_call_expr()
1327 db.names.back().first.append(", "); in parse_call_expr()
1330 db.names.back().first.append(tmp); in parse_call_expr()
1337 db.names.back().first.append(")"); in parse_call_expr()
1381 auto tmp = db.names.back().move_full(); in parse_new_expr()
1387 db.names.back().first.append(", "); in parse_new_expr()
1388 db.names.back().first.append(tmp); in parse_new_expr()
1414 auto tmp = db.names.back().move_full(); in parse_new_expr()
1420 db.names.back().first.append(", "); in parse_new_expr()
1421 db.names.back().first.append(tmp); in parse_new_expr()
1435 init_list = db.names.back().move_full(); in parse_new_expr()
1440 auto type = db.names.back().move_full(); in parse_new_expr()
1447 expr_list = db.names.back().move_full(); in parse_new_expr()
1510 auto tmp = db.names.back().move_full(); in parse_conversion_expr()
1516 db.names.back().first.append(", "); in parse_conversion_expr()
1517 db.names.back().first.append(tmp); in parse_conversion_expr()
1528 auto tmp = db.names.back().move_full(); in parse_conversion_expr()
1530 db.names.back() = "(" + db.names.back().move_full() + ")(" + tmp + ")"; in parse_conversion_expr()
1553 auto tmp = db.names.back().move_full(); in parse_arrow_expr()
1555 db.names.back().first += "->"; in parse_arrow_expr()
1556 db.names.back().first += tmp; in parse_arrow_expr()
1647 db.names.back().first += " "; in parse_function_type()
1648 db.names.back().second.insert(0, sig); in parse_function_type()
1672 auto func = std::move(db.names.back()); in parse_pointer_to_member_type()
1674 auto class_type = std::move(db.names.back()); in parse_pointer_to_member_type()
1677 … db.names.back().first = std::move(func.first) + "(" + class_type.move_full() + "::*"; in parse_pointer_to_member_type()
1678 db.names.back().second = ")" + std::move(func.second); in parse_pointer_to_member_type()
1682 … db.names.back().first = std::move(func.first) + " " + class_type.move_full() + "::*"; in parse_pointer_to_member_type()
1683 db.names.back().second = std::move(func.second); in parse_pointer_to_member_type()
1708 if (db.names.back().second.substr(0, 2) == " [") in parse_array_type()
1709 db.names.back().second.erase(0, 1); in parse_array_type()
1710 db.names.back().second.insert(0, " []"); in parse_array_type()
1724 if (db.names.back().second.substr(0, 2) == " [") in parse_array_type()
1725 db.names.back().second.erase(0, 1); in parse_array_type()
1726 db.names.back().second.insert(0, " [" + typename C::String(first+1, t) + "]"); in parse_array_type()
1741 auto type = std::move(db.names.back()); in parse_array_type()
1743 auto expr = std::move(db.names.back()); in parse_array_type()
1744 db.names.back().first = std::move(type.first); in parse_array_type()
1747 db.names.back().second = " [" + expr.move_full() + "]" + std::move(type.second); in parse_array_type()
1775 db.names.back() = "decltype(" + db.names.back().move_full() + ")"; in parse_decltype()
1814 db.names.back().first += " vector[" + typename C::String(num, sz) + "]"; in parse_vector_type()
1837 num = db.names.back().move_full(); in parse_vector_type()
1849 db.names.back().first += " vector[" + num + "]"; in parse_vector_type()
1913 else if (db.names[k].second.back() == '&') in parse_type()
1937 db.subs.back().push_back(db.names[k]); in parse_type()
1962 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
1971 db.names.back().first.append(" complex"); in parse_type()
1973 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
1983 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
1992 db.names.back().first.append(" imaginary"); in parse_type()
1994 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2004 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2028 db.subs.back().push_back(db.names[k]); in parse_type()
2062 db.subs.back().push_back(db.names[k]); in parse_type()
2089 db.subs.back().push_back(db.names[k]); in parse_type()
2104 db.subs.back().push_back(db.names[k]); in parse_type()
2110 auto args = db.names.back().move_full(); in parse_type()
2112 db.names.back().first += std::move(args); in parse_type()
2113 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2132 auto type = db.names.back().move_full(); in parse_type()
2134 if (db.names.back().first.substr(0, 9) != "objcproto") in parse_type()
2136 db.names.back() = type + " " + db.names.back().move_full(); in parse_type()
2140 auto proto = db.names.back().move_full(); in parse_type()
2145 … db.names.back() = type + "<" + db.names.back().move_full() + ">"; in parse_type()
2152 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2166 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2183 auto template_args = db.names.back().move_full(); in parse_type()
2185 db.names.back().first += template_args; in parse_type()
2187 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2207 db.subs.back().push_back(db.names[k]); in parse_type()
2220 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2231 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2254 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_type()
2375 db.names.back().first.insert(0, "operator "); in parse_operator_name()
2459 db.names.back().first.insert(0, "operator\"\" "); in parse_operator_name()
2610 db.names.back().first.insert(0, "operator "); in parse_operator_name()
2633 db.names.back().first += '-'; in parse_integer_literal()
2636 db.names.back().first.append(first, t); in parse_integer_literal()
2638 db.names.back().first += lit; in parse_integer_literal()
2821 … db.names.back() = "(" + db.names.back().move_full() + ")" + typename C::String(t, n); in parse_expr_primary()
2923 db.names.push_back(base_name(db.names.back().first)); in parse_ctor_dtor_name()
2938 db.names.push_back("~" + base_name(db.names.back().first)); in parse_ctor_dtor_name()
2979 db.names.back().first.append(t0, t1); in parse_unnamed_type_name()
2982 db.names.back().first.push_back('\''); in parse_unnamed_type_name()
2997 db.names.back().first += ')'; in parse_unnamed_type_name()
3010 auto tmp = db.names.back().move_full(); in parse_unnamed_type_name()
3012 db.names.back().first.append(tmp); in parse_unnamed_type_name()
3021 tmp = db.names.back().move_full(); in parse_unnamed_type_name()
3025 db.names.back().first.append(", "); in parse_unnamed_type_name()
3026 db.names.back().first.append(tmp); in parse_unnamed_type_name()
3030 db.names.back().first.append(")"); in parse_unnamed_type_name()
3048 db.names.back().first.insert(db.names.back().first.begin()+7, t0, t1); in parse_unnamed_type_name()
3138 db.names.back().first.insert(0, "std::"); in parse_unscoped_name()
3159 db.names.back().first = "alignof (" + db.names.back().move_full() + ")"; in parse_alignof_type()
3179 db.names.back().first = "alignof (" + db.names.back().move_full() + ")"; in parse_alignof_expr()
3195 db.names.back().first = "noexcept (" + db.names.back().move_full() + ")"; in parse_noexcept_expression()
3210 db.names.back().first = op + "(" + db.names.back().move_full() + ")"; in parse_prefix_expression()
3228 auto op2 = db.names.back().move_full(); in parse_binary_expression()
3230 auto op1 = db.names.back().move_full(); in parse_binary_expression()
3231 auto& nm = db.names.back().first; in parse_binary_expression()
3380 … db.names.back().first = (parsed_gs ? typename C::String("::") : typename C::String()) + in parse_expression()
3381 "delete[] " + db.names.back().move_full(); in parse_expression()
3401 … db.names.back().first = (parsed_gs ? typename C::String("::") : typename C::String()) + in parse_expression()
3402 "delete " + db.names.back().move_full(); in parse_expression()
3473 auto op2 = db.names.back().move_full(); in parse_expression()
3475 auto op1 = db.names.back().move_full(); in parse_expression()
3476 db.names.back() = "(" + op1 + ")[" + op2 + "]"; in parse_expression()
3546 db.names.back() = "(" + db.names.back().move_full() + ")--"; in parse_expression()
3636 db.names.back() = "(" + db.names.back().move_full() + ")++"; in parse_expression()
3665 auto op3 = db.names.back().move_full(); in parse_expression()
3667 auto op2 = db.names.back().move_full(); in parse_expression()
3669 auto op1 = db.names.back().move_full(); in parse_expression()
3670 db.names.back() = "(" + op1 + ") ? (" + op2 + ") : (" + op3 + ")"; in parse_expression()
3842 db.template_param.back().clear(); in parse_template_args()
3858 db.template_param.back().emplace_back(db.names.get_allocator()); in parse_template_args()
3860 db.template_param.back().back().push_back(db.names[k]); in parse_template_args()
3873 if (args.back() != '>') in parse_template_args()
3925 db.names.back().first = "std"; in parse_nested_name()
3946 auto name = db.names.back().move_full(); in parse_nested_name()
3948 if (!db.names.back().first.empty()) in parse_nested_name()
3950 db.names.back().first += "::" + name; in parse_nested_name()
3951 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_nested_name()
3954 db.names.back().first = name; in parse_nested_name()
3965 auto name = db.names.back().move_full(); in parse_nested_name()
3967 if (!db.names.back().first.empty()) in parse_nested_name()
3968 db.names.back().first += "::" + name; in parse_nested_name()
3970 db.names.back().first = name; in parse_nested_name()
3971 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_nested_name()
3984 auto name = db.names.back().move_full(); in parse_nested_name()
3986 if (!db.names.back().first.empty()) in parse_nested_name()
3987 db.names.back().first += "::" + name; in parse_nested_name()
3989 db.names.back().first = name; in parse_nested_name()
3990 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_nested_name()
4001 auto name = db.names.back().move_full(); in parse_nested_name()
4003 db.names.back().first += name; in parse_nested_name()
4004 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_nested_name()
4020 auto name = db.names.back().move_full(); in parse_nested_name()
4022 if (!db.names.back().first.empty()) in parse_nested_name()
4023 db.names.back().first += "::" + name; in parse_nested_name()
4025 db.names.back().first = name; in parse_nested_name()
4026 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_nested_name()
4101 db.names.back().first.append("::string literal"); in parse_local_name()
4116 auto name = db.names.back().move_full(); in parse_local_name()
4118 db.names.back().first.append("::"); in parse_local_name()
4119 db.names.back().first.append(name); in parse_local_name()
4137 auto name = db.names.back().move_full(); in parse_local_name()
4139 db.names.back().first.append("::"); in parse_local_name()
4140 db.names.back().first.append(name); in parse_local_name()
4198 … db.subs.push_back(typename C::sub_type(1, db.names.back(), db.names.get_allocator())); in parse_name()
4205 auto tmp = db.names.back().move_full(); in parse_name()
4207 db.names.back().first += tmp; in parse_name()
4227 auto tmp = db.names.back().move_full(); in parse_name()
4229 db.names.back().first += tmp; in parse_name()
4316 db.names.back().first.insert(0, "vtable for "); in parse_special_name()
4327 db.names.back().first.insert(0, "VTT for "); in parse_special_name()
4338 db.names.back().first.insert(0, "typeinfo for "); in parse_special_name()
4349 db.names.back().first.insert(0, "typeinfo name for "); in parse_special_name()
4367 db.names.back().first.insert(0, "covariant return thunk to "); in parse_special_name()
4385 auto left = db.names.back().move_full(); in parse_special_name()
4387 db.names.back().first = "construction vtable for " + in parse_special_name()
4389 db.names.back().move_full(); in parse_special_name()
4408 db.names.back().first.insert(0, "virtual thunk to "); in parse_special_name()
4413 db.names.back().first.insert(0, "non-virtual thunk to "); in parse_special_name()
4431 db.names.back().first.insert(0, "guard variable for "); in parse_special_name()
4442 db.names.back().first.insert(0, "reference temporary for "); in parse_special_name()
4511 const typename C::String& nm = db.names.back().first; in parse_encoding()
4521 auto ret1 = std::move(db.names.back().first); in parse_encoding()
4522 ret2 = std::move(db.names.back().second); in parse_encoding()
4526 db.names.back().first.insert(0, ret1); in parse_encoding()
4529 db.names.back().first += '('; in parse_encoding()
4560 db.names.back().first += ", "; in parse_encoding()
4563 db.names.back().first += tmp; in parse_encoding()
4571 db.names.back().first += ')'; in parse_encoding()
4573 db.names.back().first.append(" const"); in parse_encoding()
4575 db.names.back().first.append(" volatile"); in parse_encoding()
4577 db.names.back().first.append(" restrict"); in parse_encoding()
4579 db.names.back().first.append(" &"); in parse_encoding()
4581 db.names.back().first.append(" &&"); in parse_encoding()
4582 db.names.back().first += ret2; in parse_encoding()
4627 db.names.back().first.insert(0, "invocation function for block in "); in parse_block_invoke()
4644 db.names.back().first += " (" + typename C::String(first, last) + ")"; in parse_dot_suffix()
4935 size_t sz = db.names.back().size() + 1; in __cxa_demangle()
4953 db.names.back().first += db.names.back().second; in __cxa_demangle()
4954 std::memcpy(buf, db.names.back().first.data(), sz-1); in __cxa_demangle()