refactor(util): rename name_map to name_hash_map
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b6d2328c1d
commit
dcacf6fbca
2 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ Author: Leonardo de Moura
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "util/list.h"
|
#include "util/list.h"
|
||||||
#include "util/name_map.h"
|
#include "util/name_hash_map.h"
|
||||||
#include "kernel/replace_fn.h"
|
#include "kernel/replace_fn.h"
|
||||||
#include "kernel/abstract.h"
|
#include "kernel/abstract.h"
|
||||||
#include "kernel/type_checker.h"
|
#include "kernel/type_checker.h"
|
||||||
|
@ -41,8 +41,8 @@ struct decl_info {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef name_map<decl_info> decl_info_map;
|
typedef name_hash_map<decl_info> decl_info_map;
|
||||||
typedef name_map<level_info> level_info_map;
|
typedef name_hash_map<level_info> level_info_map;
|
||||||
typedef std::unordered_set<name, name_hash, name_eq> name_hash_set;
|
typedef std::unordered_set<name, name_hash, name_eq> name_hash_set;
|
||||||
|
|
||||||
class abstraction_context_imp : public abstraction_context {
|
class abstraction_context_imp : public abstraction_context {
|
||||||
|
|
|
@ -8,5 +8,5 @@ Author: Leonardo de Moura
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include "util/name.h"
|
#include "util/name.h"
|
||||||
namespace lean {
|
namespace lean {
|
||||||
template<typename T> using name_map = std::unordered_map<name, T, name_hash, name_eq>;
|
template<typename T> using name_hash_map = std::unordered_map<name, T, name_hash, name_eq>;
|
||||||
}
|
}
|
Loading…
Reference in a new issue