Improve procedure group selection based on the minimum number of arguments

This commit is contained in:
gingerBill
2022-03-18 22:18:12 +00:00
parent df233f72a9
commit a68f0b2d72
5 changed files with 82 additions and 31 deletions

View File

@@ -115,6 +115,16 @@ struct ParameterValue {
};
};
bool has_parameter_value(ParameterValue const &param_value) {
if (param_value.kind != ParameterValue_Invalid) {
return true;
}
if (param_value.original_ast_expr != nullptr) {
return true;
}
return false;
}
enum EntityConstantFlags : u32 {
EntityConstantFlag_ImplicitEnumValue = 1<<0,
};