chore: add .clangd configuration

This commit is contained in:
2026-04-21 22:53:34 +08:00
parent c2321a0a6e
commit c7a0aff0c1
8 changed files with 24 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ const std::string& MapTable::get_name_from_id(unsigned id) {
ASSERT_MSG(it != id_to_name_map.end(), "Id: " + std::to_string(id) + " is not exist");
return it->second;
}
const unsigned MapTable::get_id_from_name(const std::string& name) {
unsigned MapTable::get_id_from_name(const std::string& name) {
auto it = name_to_id_map.find(HASH::str(name));
ASSERT_MSG(it != name_to_id_map.end(), "Name " + name + " is not exist");
return it->second;