2013-08-24 02:32:28 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <unordered_set>
|
2013-09-13 10:35:29 +00:00
|
|
|
#include "util/name.h"
|
2013-08-24 02:32:28 +00:00
|
|
|
namespace lean {
|
|
|
|
typedef std::unordered_set<name, name_hash, name_eq> name_set;
|
2013-11-30 18:22:57 +00:00
|
|
|
/**
|
|
|
|
\brief Make a name that does not occur in \c s, based on
|
|
|
|
the given suggestion.
|
|
|
|
*/
|
|
|
|
name mk_unique(name_set const & s, name const & suggestion);
|
2013-08-24 02:32:28 +00:00
|
|
|
}
|