diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-13 18:58:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-13 18:58:33 +0000 |
commit | f33fa6fb57b9c41e99739eff79b7f185e0df9500 (patch) | |
tree | fd969d67c1b2afebb127ed8a914c02a545b2be06 /include/llvm/Module.h | |
parent | 3e5fe173bb6bcaaacc54d9fd4f71767eb3e3298e (diff) |
Add Module::getTypeName
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index d94500aed4..cd151786b6 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -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; } |