Applied readability-make-member-function-const clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-23 16:44:01 +01:00
parent 72bd69729e
commit fb2aeb6dea
6 changed files with 9 additions and 8 deletions

View File

@@ -2151,7 +2151,7 @@ void translation_unit_visitor::finalize()
}
bool translation_unit_visitor::simplify_system_template(
template_parameter &ct, const std::string &full_name)
template_parameter &ct, const std::string &full_name) const
{
if (config().type_aliases().count(full_name) > 0) {
ct.set_name(config().type_aliases().at(full_name));

View File

@@ -227,7 +227,7 @@ private:
void resolve_local_to_global_ids();
bool simplify_system_template(
model::template_parameter &ct, const std::string &full_name);
model::template_parameter &ct, const std::string &full_name) const;
/// Store the mapping from local clang entity id (obtained using
/// getID()) method to clang-uml global id