aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h5
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; }