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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index b9c98814f1..8c50098dce 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -309,6 +309,9 @@ public:
/// is none by that name.
StructType *getTypeByName(StringRef Name) const;
+ /// getNumNamedStructTypes - Return the number of named struct types.
+ unsigned getNumNamedStructTypes() const;
+
/// @}
/// @name Function Accessors
/// @{