@@ -1053,15 +1053,15 @@ class cppfront
1053
1053
}
1054
1054
};
1055
1055
1056
- using unqualified_name_lookup_res =
1056
+ using source_order_name_lookup_res =
1057
1057
std::optional<std::variant<declaration_node const *, active_using_declaration>>;
1058
1058
1059
1059
// Stack of the currently active nested declarations we're inside
1060
1060
std::vector<declaration_node const *> current_declarations = { {} };
1061
1061
1062
- // Stack of the currently active nested names we're inside :
1062
+ // Stack of the currently active names for source order name lookup :
1063
1063
// Like 'current_declarations' + also parameters and using declarations
1064
- std::vector<unqualified_name_lookup_res ::value_type> current_names = { {} };
1064
+ std::vector<source_order_name_lookup_res ::value_type> current_names = { {} };
1065
1065
1066
1066
// Maintain a stack of the functions we're currently processing, which can
1067
1067
// be up to MaxNestedFunctions in progress (if we run out, bump the Max).
@@ -2798,8 +2798,8 @@ class cppfront
2798
2798
}
2799
2799
2800
2800
2801
- auto unqualified_name_lookup (unqualified_id_node const & id)
2802
- -> unqualified_name_lookup_res
2801
+ auto source_order_name_lookup (unqualified_id_node const & id)
2802
+ -> source_order_name_lookup_res
2803
2803
{
2804
2804
for (
2805
2805
auto first = current_names.rbegin (), last = current_names.rend () - 1 ;
@@ -2840,7 +2840,7 @@ class cppfront
2840
2840
}
2841
2841
2842
2842
auto const & id = *get<id_expression_node::unqualified>(n.id );
2843
- auto lookup = unqualified_name_lookup (id);
2843
+ auto lookup = source_order_name_lookup (id);
2844
2844
2845
2845
if (
2846
2846
!lookup
0 commit comments