Add Module::getTypeName

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2237 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-04-13 18:58:33 +00:00
parent 3e5fe173bb
commit f33fa6fb57
2 changed files with 25 additions and 0 deletions

View File

@ -69,6 +69,11 @@ public:
//
bool addTypeName(const std::string &Name, const Type *Ty);
// getTypeName - If there is at least one entry in the symbol table for the
// specified type, return it.
//
std::string getTypeName(const Type *Ty);
// Get the underlying elements of the Module...
inline const GlobalListType &getGlobalList() const { return GlobalList; }
inline GlobalListType &getGlobalList() { return GlobalList; }