minor interface changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-10 18:46:57 +00:00
parent 450de393ac
commit a112e0f447

View File

@ -19,16 +19,16 @@
#include <string>
namespace llvm {
class Value;
class Type;
class Module;
class Value;
class GlobalValue;
class Mangler {
/// This keeps track of which global values have had their names
/// mangled in the current module.
///
std::set<const Value *> MangledGlobals;
std::set<const GlobalValue*> MangledGlobals;
Module &M;
const char *Prefix;
@ -36,7 +36,7 @@ class Mangler {
unsigned TypeCounter;
std::map<const Type*, unsigned> TypeMap;
typedef std::map<const Value *, std::string> ValueMap;
typedef std::map<const Value*, std::string> ValueMap;
ValueMap Memo;
unsigned Count;
@ -55,6 +55,7 @@ public:
/// getValueName - Returns the mangled name of V, an LLVM Value,
/// in the current module.
///
std::string getValueName(const GlobalValue *V);
std::string getValueName(const Value *V);
/// makeNameProper - We don't want identifier names with ., space, or