refactor(util): rename name_map to name_hash_map

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-06-02 14:34:22 -07:00
parent b6d2328c1d
commit dcacf6fbca
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ Author: Leonardo de Moura
#include <vector>
#include <algorithm>
#include "util/list.h"
#include "util/name_map.h"
#include "util/name_hash_map.h"
#include "kernel/replace_fn.h"
#include "kernel/abstract.h"
#include "kernel/type_checker.h"
@ -41,8 +41,8 @@ struct decl_info {
}
};
typedef name_map<decl_info> decl_info_map;
typedef name_map<level_info> level_info_map;
typedef name_hash_map<decl_info> decl_info_map;
typedef name_hash_map<level_info> level_info_map;
typedef std::unordered_set<name, name_hash, name_eq> name_hash_set;
class abstraction_context_imp : public abstraction_context {

View file

@ -8,5 +8,5 @@ Author: Leonardo de Moura
#include <unordered_map>
#include "util/name.h"
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>;
}